Re: [libertybasic] Re: Variable out of loop
- Thank you Stefan, I found it starts with :
Liberty BASIC provides three constructions for looping. One is
FOR/NEXT another is WHILE/WEND, and the third is DO LOOP.
I have to study them
Thanks again Stefan for the link of searching thru html.
From: Stefan Pendl <pendl2megabit@...>
Sent: Tuesday, January 29, 2013 1:21 PM
Subject: Re: [libertybasic] Re: Variable out of loop
Am 29.01.2013 07:54, schrieb Henrik:
> Thank you mike, your “do”Generally speaking, every loop construct has its purpose.
> code is very interested to me…
For finite loops, where you exactly know the limits FOR..NEXT is best used.
For loops where you don't know the end limit, but an end condition, you
use WHILE..WEND or DO..LOOP.
Everything can be found in the help file under "Liberty BASIC v4.04 Help
=> Language Syntax and Usage => Logic and Structure => Looping Structures".
If you just read through the help file, you will have a brief knowledge
of the available commands, which will help you making better decisions
for what command to use in the current situation.
If you complain that the help file is lacking a search feature, this has
been taking care of already, see http://basic.wikispaces.com/HelpSearch
LB 4.04 Pro ... http://www.libertybasic.com/assist.html
LB 4.04 ....... http://www.libertybasic.com/lb404setup.exe
LB Community Wiki .............. http://basic.wikispaces.com/
LB Programmer's Encyclopedia ... http://lbpe.wikispaces.com/
LB Bug Tracker ................. http://libertybasicbugs.wikispaces.com/
Books at http://www.lulu.com/ and http://www.amazon.com/
Alyce Watson ... APIs for Liberty BASIC
Carl Gundel .... Beginning Programming with Liberty BASIC
Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM
[Non-text portions of this message have been removed]