aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Search




Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
296 Subscribers
Webmaster - Infos
Visits

   visitors

   visitors online

StatPays
En ligne

Sweden : 2
Colombia : 6
United States : 4
China : 4
Australia : 1
United Kingdom : 1



Depuis le 11/02/2009

France:3249198
United States:1011319
United Kingdom:527622
Germany:290499
Italy:246121
Canada:178546
Belgium:163583
Japan:124716
Spain:102914
Russian Federation:91117
Switzerland:84533
Netherlands:83691
Mexico:76530
Brazil:66571
Argentina:59224
Czech Republic:51445
Poland:48950
Morocco:47300
China:44290
Colombia:39920
Hungary:38976
Turkey:35325
Australia:35065
Portugal:28839
Sweden:26583
Austria:23412
Taiwan:21649
Finland:20429
Denmark:20080
Venezuela:15533
India:13399
Romania:12813
Korea:11691
Greece:11424
Norway:11118
New Zealand:10788
Chile:10575
Luxembourg:10288
Slovakia:8642
Croatia:8271
Ireland:8085
Ukraine:8064
Indonesia:8016
Malaysia:7445
South Africa:6413
Uruguay:6370
Singapore:6222
Israel:5713
Peru:5160
Estonia:4555
Bulgaria:4407
Thailand:4204
Lithuania:4109
Cote D'Ivoire:3026
Madagascar:2920
New Caledonia:2580
Gibraltar:2569
Belarus:2187
Hong Kong:2146
French Polynesia:2145
Dominican Republic:1720
Philippines:1635
Saudi Arabia:1610
Latvia:1519
Serbia and Montenegro:1518
Pakistan:1487
Moldova:1444
Algeria:1412
United Arab Emirates:1370
Guatemala:1295
Slovenia:1253
Ecuador:1232
Bosnia and Herzegovina:987
Costa Rica:956
Tuvalu:924
Vietnam:915
Monaco:871
Paraguay:807
Egypt:786
Macedonia:541
Bolivia:499
Nicaragua:446
Guadeloupe:435
Cyprus:403
GoogleBot:398
Lebanon:372
Honduras:361
Cuba:361
Netherlands Antilles:351
Kazakstan:342
Syrian Arab Republic:287
Jordan:276
Mauritius:244
Albania:234
Kenya:234
Andorra:223
Ghana:223
Nepal:212
Georgia:202
Reunion:191
Mozambique:180
Congo:180
Uzbekistan:24
Jamaica:2
Zimbabwe:1
Iran:1
Trinidad and Tobago:
article.gifIII. Palm Freeware - 7. LaFac

LaFac

Copyright (C) 2004-2006 Laurent Duveau



LaFac

  • Version : 1.2 (November 2006)
  • Freeware for :
  • Language :
  • Screen :
  • Downloadable File : lafac.zip (371 Kb)

LaFac stands for aldweb's LAnguage FACtory for Palm.
LaFac is a development tool which works directly from your Palm device.
LaFac comes with a p-code compiler for all 4 available development languages (one loop p-code compilers), a p-code runtime engine, a debugger, and a Stand-alone application builder.
LaFac currently comes with 4 inbuilt development languages:
1. Hellish & Esoteric Language for Palm = HELP (my invention)
2. micro BASic = µBAS
3. micro PAScal = µPAS
4. micro C = µC


Updates Description

v1.2 (11/17/06)
- FIX: if the last line of a source code was a comment without a final line feed, compilation would sometimes return a syntax error
- FIX: the number shown in the Runtime Option (Break every n instructions) would sometimes be filled with strange random characters instead of a number although the value hold by the application was OK
- ADD: High Resolution icons; this is a very kind contribution from Mike Featherstone (better late than never, Mike sent me these nice icons more than one year ago!); Thank you Mike
- ADD: various source code optimisations in the µBAS, µPAS and µC compilers
- ADD: explanations about the 2nd and 3rd parameters for MID$ (µBAS), SubString (µPAS) and SubStr (µC) functions in this help file (3rd parameter is endPosition and not NumberOfCharacters as it is more often the case for these languages)
- ADD: some information in this Help file to explain that LaFac was a proof of concept for a much more sophisticated compiler, iziBasic, which I developed afterwards
- Changed Donation URL (even though nobody ever donated for this freeware...)

v1.1 (07/22/04)
- FIX: if the user did not make a selection in popup list then a bad name string or an empty string was displayed in the popup instead of the previous selected item
- FIX: LaFac did not handle correctly instructions line > 63 characters in µBAS, µPAS and µC
- FIX: the data entry field could stay stuck in Numeric entry when asking for Text entry
- DEL: removed the CallCS / PeekCS / PokeCS / PeekNS / PokeNS / PeekTS / PokeTS functions which were of very little interest in LaFac
- ADD: LaFac can now work with the new Memos application introduced in PalmOS 5.2.8?, PMem/DATA creator/type (thanks Farcaller)
- ADD: Time format is now HH:mm:ss (was HH:mm)
- ADD: changed IntToString(popN) to RealToString(popN,number of decimals)
- ADD: various source code optimisations in the compilers

1.0 (06/05/04)
- initial release

Creation date : 05/06/2004 @ 23:20
Last update : 30/04/2007 @ 19:24
Category : III. Palm Freeware


Print the article Print the article

 
react.gifReactions to this article


Reaction #15 

by aldweb 07/03/2010 @ 16:32

Hello,

In HELP: ?a
In µBas: INPUT A$
In µPas: READ(cA);
In µC: GETS(cA);

Cheers,
aldweb

Reaction #14 

by Daimon 05/03/2010 @ 09:24

This is an awesome program (I will buy iziBasic when I can afford it) but I have a problem, how can I input text?

I can input numbers easy but can not figure out how to input a text string...(None of the samples shows this)  any help would be appreciated

Reaction #13 

by Laurianne Gardeux 23/11/2008 @ 22:26

And here the second. It converts decimals to human-readable binaries...

***
'dez2bin.mbas

getNum:
PRINT "Enter a Number (max. 16'777'215):"
INPUT N
PRINT N USING 0;
IF N>16777215 PRINT " is TO HIGHT!" : GOSUB getNum
RETURN

transform:
X=8388608
A=0
WHILE X>=1
Y=0
IF N>=X Y=1 : N=N-X
PRINT Y USING 0;
X=X/2
INC A
IF A=4 PRINT " ";
IF A=8 PRINT " ";
IF A=12 PRINT " ";
IF A=16 PRINT " ";
IF A=20 PRINT " ";
WEND
RETURN

BEGIN
GOSUB getNum
PRINT " in decimal is in binary:"
T=TICKS
GOSUB transform
R=TICKS-T/TICKSPERSEC
PRINT
PRINT R USING 2;
PRINT " seconds needed to transform"
END

Reaction #12 

by Laurianne Gardeux 23/11/2008 @ 22:23

Here my first script in mbas. Its a simple chronometer for sport-trainers ;)

***

'first9.mbas
BEGIN
CLS
PRINT "hit 'Enter' for START"
PRINT "and hit 'Enter' each time for STOPP"
A=1
WAIT
T=TICKS
CLS
PRINT " RUN !"
WHILE A<=9
WAIT
S=TICKS-T/TICKSPERSEC
PRINT A USING 0;
PRINT ") ";
H=0
WHILE S>3599
INC H
S=S-3600
WEND
M=0
WHILE S>59
INC M
S=S-60
WEND
PRINT H USING 0;
PRINT " h ";
PRINT M USING 0;
PRINT " m ";
PRINT S USING 2;
PRINT " s "
INC A
WEND
END

Reaction #11 

by Mark Wagner 30/01/2008 @ 12:24

Thanx so much for Your quick answer. I now understand.

all the best
Mark
StartPrevious [ 1 2 3 ] NextEnd
 
Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Weather / Spam / www

Lyon Weather


aldweb against spam


Family's web sites

Friends News
Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
^ Top ^