|
Author | Topic: Aurel Basic (Read 862 times) |
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #30 on Jul 17, 2009, 4:51am » | |
Hello all... First part of tutorial for Aurel Basic is out . I call them Tutorial 1 becose is preview version and is not completed. Tutorial is written in Aurel RTF Editor and as you may conclude it is in .rtf format .So you can use WordPad for reading tutorial or my RTF Editor also. If you have MS Ofiice or Open Office you may convert them into html. If i miss something for first part just post your critic or suggestion.
You can download tutorial from: http://aurelbasicsoft.ucoz.com Look in category Tutorial.
Aurel
| |
|
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #31 on Jul 28, 2009, 3:28am » | |
Aurel Basic is not some kind of fancy or very powerfull language but he can do the simple job. here is calculator example:
Code:' simple calculator DEFNUM plus% minus% multi% devide% decimal% temp% DEFNUM num1% num2% result% DEFSTR num1$ num2$ result$ DEFSTR one$ two$ tree$ four$ five$ six$ seven$ DEFSTR eight$ nine$ zero$ dot$ DEFSTR wc$ next$ temp$ LET wc$ = AB Calculator WIN 0 0 400 300 wc$ WINCOLOR 200 200 220 LET temp% = 0 'WINFONT Microsoft 8 COLOR 200 0 200
LET plus% = 0 LET minus% = 0 LET multi% = 0 LET devide% = 0 LET num1% = 0 LET num2% = 0 LET result% = 0
'display EDITBOX 10 10 144 28 500 CONTROLFONT 500 Verdana 12 'CTSETTEXT 500 0
'buttons BUTTON 20 60 32 32 SYS 51 CTSETTEXT 51 1 BUTTON 56 60 32 32 SYS 52 CTSETTEXT 52 2 BUTTON 92 60 32 32 SYS 53 CTSETTEXT 53 3
BUTTON 20 96 32 32 SYS 54 CTSETTEXT 54 4 BUTTON 56 96 32 32 SYS 55 CTSETTEXT 55 5 BUTTON 92 96 32 32 SYS 56 CTSETTEXT 56 6
BUTTON 20 132 32 32 SYS 57 CTSETTEXT 57 7 BUTTON 56 132 32 32 SYS 58 CTSETTEXT 58 8 BUTTON 92 132 32 32 SYS 59 CTSETTEXT 59 9
BUTTON 20 168 32 32 SYS 60 CTSETTEXT 60 0 BUTTON 56 168 32 32 SYS 61 CONTROLFONT 61 Verdana 14 CTSETTEXT 61 . BUTTON 92 168 32 32 SYS 62 CONTROLFONT 62 Verdana 14 CTSETTEXT 62 C
BUTTON 140 60 32 32 SYS 63 CONTROLFONT 63 Verdana 14 CTSETTEXT 63 + BUTTON 140 96 32 32 SYS 64 CONTROLFONT 64 Verdana 22 CTSETTEXT 64 - BUTTON 140 132 32 32 SYS 65 CONTROLFONT 65 Verdana 18 CTSETTEXT 65 * BUTTON 140 168 32 32 SYS 66 CONTROLFONT 66 Verdana 14 CTSETTEXT 66 / 'equal BUTTON 186 60 32 32 SYS 80 CONTROLFONT 80 Verdana 14 CTSETTEXT 80 =
WAIT 0
SUBB 51 LET one$ = 1 CTGETTEXT 500 temp$ CON$ next$ = temp$ one$ CTSETTEXT 500 next$ ENDSUB
SUBB 52 LET two$ = 2 CTGETTEXT 500 temp$ CON$ next$ = temp$ two$ CTSETTEXT 500 next$ ENDSUB
SUBB 53 LET tree$ = 3 CTGETTEXT 500 temp$ CON$ next$ = temp$ tree$ CTSETTEXT 500 next$ ENDSUB
SUBB 54 LET four$ = 4 CTGETTEXT 500 temp$ CON$ next$ = temp$ four$ CTSETTEXT 500 next$ ENDSUB
SUBB 55 LET five$ = 5 CTGETTEXT 500 temp$ CON$ next$ = temp$ five$ CTSETTEXT 500 next$ ENDSUB
SUBB 56 LET six$ = 6 CTGETTEXT 500 temp$ CON$ next$ = temp$ six$ CTSETTEXT 500 next$ ENDSUB
SUBB 57 LET seven$ = 7 CTGETTEXT 500 temp$ CON$ next$ = temp$ seven$ CTSETTEXT 500 next$ ENDSUB
SUBB 58 LET eight$ = 8 CTGETTEXT 500 temp$ CON$ next$ = temp$ eight$ CTSETTEXT 500 next$ ENDSUB
SUBB 59 LET nine$ = 9 CTGETTEXT 500 temp$ CON$ next$ = temp$ nine$ CTSETTEXT 500 next$ ENDSUB
SUBB 60 LET zero$ = 0 CTGETTEXT 500 temp$ CON$ next$ = temp$ zero$ CTSETTEXT 500 next$ ENDSUB
SUBB 61 LET dot$ = . CTGETTEXT 500 temp$ CON$ next$ = temp$ dot$ CTSETTEXT 500 next$ ENDSUB
'clear SUBB 62 CLEARCONTROL 500 LET num1% = 0 LET num2% = 0 LET result% = 0 ENDSUB
'pplus SUBB 63 CTGETTEXT 500 num1$ CLEARCONTROL 500 LET plus% = 1 LET minus% = 0 LET multi% = 0 LET devide% = 0 'LET next$ = ENDSUB
'pminus SUBB 64 CTGETTEXT 500 num1$ CLEARCONTROL 500 LET plus% = 0 LET minus% = 1 LET multi% = 0 LET devide% = 0 'LET next$ = ENDSUB
'pmulti SUBB 65 CTGETTEXT 500 num1$ CLEARCONTROL 500 LET plus% = 0 LET minus% = 0 LET multi% = 1 LET devide% = 0 'LET next$ = ENDSUB
'pdevide SUBB 66 CTGETTEXT 500 num1$ CLEARCONTROL 500 LET plus% = 0 LET minus% = 0 LET multi% = 0 LET devide% = 1 'LET next$ = ENDSUB
'equal SUBB 80 CTGETTEXT 500 num2$ CLEARCONTROL 500 IF plus% = 1 THEN GOSUB eqplus IF minus% = 1 THEN GOSUB eqminus IF multi% = 1 THEN GOSUB eqmulti IF devide% = 1 THEN GOSUB eqdevide ENDSUB
SUB eqplus LET num1% = VAL ( num1$ ) LET num2% = VAL ( num2$ ) LET result% = num1% + num2% LET result$ = STR$ ( result% ) CTSETTEXT 500 result$ LET num1% = 0 LET num2% = 0 RETURN
SUB eqminus LET num1% = VAL ( num1$ ) LET num2% = VAL ( num2$ ) LET result% = num1% - num2% LET result$ = STR$ ( result% ) CTSETTEXT 500 result$ RETURN
SUB eqmulti LET num1% = VAL ( num1$ ) LET num2% = VAL ( num2$ ) LET result% = num1% * num2% LET result$ = STR$ ( result% ) CTSETTEXT 500 result$ RETURN
SUB eqdevide LET num1% = VAL ( num1$ ) LET num2% = VAL ( num2$ ) LET result% = num1% / num2% LET result$ = STR$ ( result% ) CTSETTEXT 500 result$ RETURN
|
|
| |
|
Michael Uber Yapper
     member is offline
![[avatar]](http://topcat.hypermart.net/glyphs/fastfood.gif)
Joined: Oct 2007 Gender: Male  Posts: 974
| |
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
| |
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #34 on Aug 9, 2009, 4:43am » | |
Hi .. Here is small update of ABasic v1.1 build 89 - rc4 New thing is small bitmaps in editor menu items. I hope that that you like it.
In next release i hope that i will add command for create Menu and Menuitems. Something like CREATEMENU ADDMENU
so download and try... http://www.aurelbasic.smfnew.com/index.php?topic=90.0
| |
|
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #35 on Sept 20, 2009, 5:36pm » | |
Hi...  New version of Aurel Basic v1.1 build 90 is ready for download. You can find it here: http://aurelw.wiz.googlepages.com/aurelsoft What is NEW in Aurel Basic v1.1 build 90? NEW commands in this release are: -------------------------------------------------- syntax: 'create control RICHEDIT x y w h ID 'set richedit color forcolor backcolor RESETCOLOR ID r g b r g b 'open rtf file and load into control with specify ID OPENFILE ASRICHTEXT ID 'save rtf file from richedit control SAVEFILE ASRICHTEXT ID
In Command CONTROLFONT ID fontname fontsize, fontsize now can be written as numeric variable . WINSETSIZE x y w h This new comand enable chenge window position and window size.
All best... Aurel
 Please login to download attachments. | |
|
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
| |
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #37 on Oct 21, 2009, 4:15pm » | |
Downloadtube.com Editor Final Note:
Aurel Basic is a simple to use and intuitive interpreter for BASIC code that allows beginners to rapidly learn how to build Win32 applications.
 Please login to download attachments. | |
|
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #38 on Nov 5, 2009, 2:51pm » | |
New version v1.1 build 91 released !
New thing is complette error markers in sci editor. And finaly i will include Application Builder. Application Builder is not GUI Builder which will be released in future then package builder which can produce new folder with abruntime & .abp file. For separate runing from ABasic editor.
You can download new version from: http://sites.google.com/site/aurelwwiz/aurelso
Aurel
 Please login to download attachments. | |
|
Michael Uber Yapper
     member is offline
![[avatar]](http://topcat.hypermart.net/glyphs/fastfood.gif)
Joined: Oct 2007 Gender: Male  Posts: 974
| |
aurelhr Full Member
   member is online
Joined: Jun 2008 Gender: Male  Posts: 150
|  | Re: Aurel Basic « Reply #40 on Dec 21, 2009, 1:31pm » | |
5000 downloads on Softpedia
| |
|
|