|
|
III. Gratuitiels Palm - 7. LaFac |
|
|
LaFacCopyright (C) 2004-2006 Laurent DuveauLaFac- Version : 1.2 (Novembre 2006)
- Gratuitiel pour :
- Langue :
- Ecran :
- Fichier téléchargeable : lafac.zip (371 Ko)
LaFac signifie : LAnguage FACtory pour Palm, bref l'usine à langages de développement. LaFac est un outil de développement qui fonctionne directement depuis votre Palm. LaFac possède un compilateur p-code pour les 4 langages de développement disponibles (des compilateurs p-code en une passe), une machine virtuelle p-code, un débugger, et un module de création d'applications autonomes. LaFac contient actuellement 4 langages de développement : 1. Hellish & Esoteric Language for Palm = HELP (mon invention) 2. micro BASic = µBAS3. micro PAScal = µPAS4. micro C = µCListe des améliorationsMerci de vous référer à la version anglaise de cette page sur LaFac.
Date de création : 05/06/2004 @ 23:20
Dernière modification : 30/04/2007 @ 19:24
Catégorie : III. Gratuitiels Palm
|
|
|
|
|
|
Réactions à cet article |
|
|
Réaction n°15 |
par aldweb
le 07/03/2010 @ 16:32 |
Hello,
In HELP: ?a In µBas: INPUT A$ In µPas: READ(cA); In µC: GETS(cA);
Cheers, aldweb
|
Réaction n°14 |
par Daimon le 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
|
Réaction n°13 |
par Laurianne Gardeux
le 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
|
Réaction n°12 |
par Laurianne Gardeux
le 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
|
Réaction n°11 |
par Mark Wagner
le 30/01/2008 @ 12:24 |
Thanx so much for Your quick answer. I now understand.
all the best Mark
|
Réaction n°10 |
par aldweb
le 30/01/2008 @ 08:01 |
Hello Mark,
Since LaFac is a one simple pass compiler, all GOTO statements must refer to a [jumpmark] that is defined ahead in the program. So you should write your source code this way:
GOTIT: Print "OOPS, GOT IT!" END
BEGIN PRINT "Try to stop this programm!" START: INPUT A IF A=666 then GOTO GOTIT GOTO START
Cheers, aldweb
|
Réaction n°9 |
par Mark Wagner
le 29/01/2008 @ 20:45 |
Dear Laurent,
this might be a stupid request - but I am just stuck with what i know. I am trying to set a god old "If a=x then GOTO ...[jumpmark]"-Command using LaFac - Micro Basic. It does not seem to work eather way I try. (compilation error). Is there a chart on your site or anywhere on the net, that explains all the commands that work on the Basic Version that you used.
SIMPLE Example for what I am trying to do:
BEGIN PRINT "Try to stop this programm!" START: INPUT A IF A=666 then GOTO GOTIT GOTO START
GOTIT: Print "OOPS, GOT IT!" END
THANX A LOT. Don't hesitate, to simply send Your Answer to my eMail, if thats fine with you.
Great Programm man!
|
Réaction n°8 |
par aldweb
le 21/01/2006 @ 15:34 |
Hello Jared,
You must have hundreds of memo records to get a time lag when loading LaFac.
For graphics and sound support, this is not planned at all in LaFac. LaFac was my proof of concept for a runtime compiler, and the enhanced version, focused on the BASIC language only, with graphics and sound support (and many, many other things!), is iziBasic
Cheers, aldweb
|
Réaction n°7 |
par Jared
le 17/01/2006 @ 22:05 |
LOVE IT. It would be nice if you could add an option-"not scan on start"-, because its annoying to have to wait. Also-any graphics, sound support?
|
Réaction n°6 |
par Werner
le 24/07/2004 @ 15:19 |
Apologies!
I have to correct my first message. Actually the program does *not* crash! It just needs about 30 seconds to scan all my memos. Meanwhile it only *seems* to have crashed - 30 seconds subjectively is quite a long time!
Werner
|
Réaction n°5 |
par Werner
le 24/07/2004 @ 14:38 |
Nice program! Works great on a Palm Emulator. But unfortunately crashs on a Sony Clie PEG-T625C, even with 160 * 160 resolution.
Neanmoins: Excellent!
Werner
|
Réaction n°4 |
par Palmipod
le 12/06/2004 @ 22:42 |
+ ??? alors ?
|
Réaction n°3 |
par gmigueis
le 07/06/2004 @ 17:03 |
Jolie! Beautiful! A jewel for algorithm creation and test.
|
Réaction n°2 |
par Palmipod
le 06/06/2004 @ 22:41 |
un must ! 4 langages dans un seul outil, du jamais vu sur un Palm !!!!
|
Réaction n°1 |
par Pierre le 06/06/2004 @ 10:46 |
Un mot et un seul : BALAIZE !
|
|
|
|
|
|
|
Spécial ! |
Version mobile de l'aldweb Site m.aldweb.com Ni Français, ni Anglais ?Essayez donc l'un de ces drapeaux :
|
|
Météo / Spam / www |
Météo Lyon
aldweb contre le SPAM
|
|
|