'ЪДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДї 'і FILE: TUTOR1_1.BAS і 'і PURPOSE: PB/VISION(tm) LITE Tutorial Example Program і 'ГДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДґ 'і For instant help on any PB/VISION(tm) keyword, place the cursor on that і 'і keyword and press <CTRL-F1>. The PB/VISION(tm) index can be accessed і 'і by pressing <SHIFT-F1> twice. The file "PBVLITE.PBH" _must_ be in the і 'і same directory as the PowerBASIC IDE (PB.EXE) for this feature to work і 'і properly. і 'АДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДЩ ' Д ю 1.1.1 - TELLING POWERBASIC THAT THIS IS A PROGRAM, NOT A UNIT ДДДДДД %ISPBU = 0 ' This means it is a program, not a .PBU ' Д ю 1.1.2 - MAKING OUR PROGRAMS WORK A WHOLE LOT FASTER ДДДДДДДДДДДДДДДД DEFINT A-Z ' Use high-speed integer variables $DYNAMIC ' Use dynamic memory allocation ' Д ю 1.1.3 - INCLUDING THE ROUTINE DEFINITIONS ДДДДДДДДДДДДДДДДДДДДДДДДДД $INCLUDE ".\WINDOW.BI" ' Every program requires this line ' Д ю 1.1.4 - TURNING ON PB/VISION ДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДД APPINIT ' Initialize PB/VISION desktop LOCATE 12, 30: PRINT "Hello, World!" ' just say "hi" WHILE INKEY$ = "": WEND ' Poll the keyboard ' Д ю 1.1.5 - TURNING OFF PB/VISIONДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДДД APPCLOSE ' Close PB/VISION and remove desktop END