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
298 Subscribers
Webmaster - Infos
Visits

   visitors

   visitors online

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 ^