473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Find out the output of the following codes;

Expand|Select|Wrap|Line Numbers
  1. Dim fr as String
  2. fr = "HELLO"
  3. I = Len(fr)
  4. Do While I > 0
  5. Print Right(fr,I)
  6. I =I-1
  7. Loop
Feb 11 '13 #1
2 1322
Rabbit
12,516 Expert Mod 8TB
Run the code and you'll find your answer.
Feb 11 '13 #2
!NoItAll
297 100+
OLLEH is the output. It iterates through the string from back to front.
Feb 22 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Frank Meng | last post by:
Hi. I got some sample codes from Fig 10 of http://msdn.microsoft.com/msdnmag/issues/03/05/Real-WorldXML/default.aspx .. If I read an XML file like: <test> <good>1</good> </test> The output...
1
by: Alice | last post by:
I have the following codes in VB which I need to convert to VB .NET 03. It is the code for a command button click event in a form named frmLogin. I have created a OleDbConnection Control, a...
2
NewYorker
by: NewYorker | last post by:
Hello comrades, I am a Dev-C++ beginner and need your help please. I've downloaded Dev-C++ in my computer but it seems to be one problem. After I type in my program,correctly, in the EDITOR and...
3
by: deena22 | last post by:
hello, i'm using 'Access database' and VB 6.0. My database is named ' timesheet' and it contains a table named 'tabletimesheet'. The table contain the following fields: 'staffname, stafftype,...
2
by: Alien | last post by:
The class TimerScheduler inherits from a template which uses the parameter TimerScheduler itself. What's the benefit of this arrangement? Thanks. 00028 class TimerScheduler : public...
7
by: Meal | last post by:
The last line of the following codes makes the program crash. I cannot debug into the codes. It looks that I cannot use the dynamic_cast, but why? The cout shows that the node is DOM element node....
2
by: Dilip1983 | last post by:
Hi All I am using the following command to get the output like this home1 pandadk sandbox odm odm_daa pub_odm_daa_test1 run
0
by: phpuser123 | last post by:
import java.lang.*; public class java17_test extends SecurityManager{ /** * @param args */ public static void main(String args) { System.setSecurityManager(new...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.