text
stringlengths
7
5.36M
' vim: ft=basic option explicit sub main() ' { dim rootIds as dao.recordSet set rootIds = currentDb.openRecordset( _ "select distinct parentId from msysObjects where parentId not in " & _ "(select distinct id from msysObjects)" ) ' children 251658241 ' exit sub do until rootIds.e...
1 DIM A(9) 10 PRINT " TIC-TAC-TOE" 20 PRINT 30 PRINT "WE NUMBER THE SQUARES LIKE THIS:" 40 PRINT 50 PRINT 1,2,3 55 PRINT: PRINT 60 PRINT 4,5,6 70 PRINT 7,8,9 75 PRINT 80 FOR I=1 TO 9 90 A(I)=0 95 NEXT I 97 C=0 100 IF RND (2)=1 THEN 150 110 PRINT "I'LL GO FIRST THIS TIME" 120 C=1 125 A(5)=1 130 PRINT 135 GOSUB ...
'********** Tiles.Bas - GraphPak tile editor 'Copyright (c) 1988 Brian Giedt 'Copyright (c) 1988 Crescent Software 'compile and link with QuickBASIC 4.0 as follows: ' ' BC TILES /O; ' LINK /E /NOE TILES NOCOM , , NUL, GRAPHPAK DEFINT A-Z DECLARE SUB Highprint (A$) DECLARE SUB Show.Help () DECLARE SUB Selectv ...
10 CLEAR 71*71*5+200 15 ? MEM 20 DIM A$(70,70) 30 ? MEM 40 FOR X = 0 TO 70 50 FOR Y = 0 TO 70 60 A$(X,Y)=STR$(X*Y) 65 PRINT "W";X;Y;MEM 70 NEXT Y 80 NEXT X 100 FOR X = 0 TO 70 110 FOR Y = 0 TO 70 130 PRINT "R";X;Y;A$(X,Y) 160 NEXT Y 180 NEXT X
0 s1=54272:s2=56832 1 print "first sid at $d400" 2 print "second sid at $de00" 10 for l=s1 to s1+24:poke l,0:next 12 for l=s2 to s2+24:poke l,0:next 13 poke s1+24,15:poke s2+24,15 14 poke s1+5,64 15 poke s1+1,162:poke s1,37:print"1st (higher pitch)" 16 poke s1+4,17:for t=1 to 200:next 17 poke s1+4,16:for t=1 to 500:nex...
CLS PRINT "TIME REQUIRED FOR POPULATION DOUBLING" 10 INPUT "INSTANTANEOUS GROWTH RATE - r"; R 20 tD = .693 / R 30 PRINT "DOUBLING TIME ="; tD END
0 CLEAR44:DIMX(6),Y(6),A(6),B(6),C(6),K(12,3),S$(5,2),W$(5,2):OPEN"I",#-1,"R2":FORX=1TO5:FORY=1TO2:INPUT#-1,T,Z,S,P:S$(X,Y)=CHR$(T)+CHR$(Z):W$(X,Y)=CHR$(S)+CHR$(P):NEXT:NEXT:FORT=1TO12:INPUT#-1,K(T,0),K(T,1),K(T,2),K(T,3):NEXT:CLOSE#-1:GOTO16 1 SET(X(T),Y(T),5):RETURN 2 S=POINT(X(T),Y(T)):IFS<>5ANDS<>C(T)THENQ=T:T=6:Z...
DECLARE FUNCTION GCD(BYVAL X AS INTEGER,BYVAL Y AS INTEGER) AS INTEGER INPUT M,N IF M=0 THEN PRINT 1,1:SLEEP:END DIM AS INTEGER A(1000),B(N) FOR I=1 TO N B(I)=I NEXT I FOR I=2 TO M T=I:J=0 DO DO J=J+1 LOOP UNTIL GCD(B(J),T)<>1 X=GCD(B(J),T) B(J)=B(J)/X:T=T/X L...
10 sq=226:GOSUB"LIB0:M6750"
10 FOR I = 1 TO 10 20 IF I <> 4 THEN 40 30 CONTINUE 40 PRINT I 50 NEXT I 90 STOP 99 END
3 REM **************************** 4 REM * DIE VERFLIXTE VERTRETUNG * 5 REM **************************** 6 REM * VON UWE BEKEMANN * 7 REM * WAEHRENTRUPER STR.71 * 8 REM * 4811 OERLINGHAUSEN * 9 REM **************************** 10 MODE 1 11 PRINT STRING$(19,"_") 12 PRINT:PRINT"VERFLIXTE" 13 PRINT"URLAU...
10 INPUT A,B,C 20 ? A;B;C
5 PRINT TAB(33);"CRAPS" 10 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 12 PRINT:PRINT:PRINT 15 LET R=0 20 PRINT"2,3,12 ARE LOSERS; 4,5,6,8,9,10 ARE POINTS; 7,11 ARE NATURAL WINNERS." 21 LET T=1 22 PRINT "PICK A NUMBER AND INPUT TO ROLL DICE"; 23 INPUT Z 24 LET X=(RND(0)) 25 LET T =T+1 26 IF T<=...
Attribute VB_Name = "NUMBER_COMPLEX_PARSE_LIBR" Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 'The "Option Base" statement allows to specify 0 or 1 as the 'default first index of arrays. '***********************************************************...
10 DIM D(20) 200 RANDOMIZE 202 LET L=1 205 PRINT"DO YOU WANT INSTRUCTIONS"; 206 INPUT Z$ 207 IF Z$="NO" THEN 400 210 PRINT"HELLO, ALL YOU BLOODLOVERS AND AFICIONADOS" 220 PRINT"HERE IS YOUR BIG CHANCE TO KILL A BULL" 230 PRINT 240 PRINT"ON EACH PASS OF THE BULL, YOU MAY TRY" 250 PRINT"0 - VERONICA (DANGEROUS INSIDE MOV...
10 DEFINT A-Z 50 SOUND 8,&b00000 51 SOUND 12,0 52 SOUND 11,1 53 SOUND 13,0 54 SOUND 7,&b10111110 55 SOUND 1,&H7:SOUND 0,&HF2 59 SOUND 8,&b11100 100 ' READ S and TR From VRAM 110 S=VPEEK(0):TR=VPEEK(1) 120 FOR I=0 TO 31:PUT SPRITE I,((I MOD 16)*20,164+(I\16)*16),0,0:NEXT I 130 R=0:C=0:PL=9 140 SS=0:SJ=0:PS%=0:SX=46:...
1 %TITLE "Actual Units Production" %SBTTL "AD_MAIN_UNITS" %IDENT "V3.6a Calico" FUNCTION LONG AD_MAIN_UNITS(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987 BY ! ! Computer Management Center ! Idaho Falls, Idaho. ! ! This software is furnished under ...
10000 rem SUNDOG.BAS 10010 rem Copyright (c) 1983,2017 by Meadhbh Hamrick 10020 rem Released under a BSD 3-Clause License, see LICENSE.TXT for details 10030 rem Call the Initialize Subroutine 10040 gosub 10400 10050 rem Placeholder for a call to the test routines. See the TESTING 10060 rem section of the README.TXT fil...
#PBFORMS CREATED V2.01 '------------------------------------------------------------------------------ ' The first line in this file is a PB/Forms metastatement. ' It should ALWAYS be the first line of the file. Other ' PB/Forms metastatements are placed at the beginning and ' end of "Named Blocks" of code that should ...
1 print tab(26)"matpuzle" 2 printtab(20)"creative computing" 3 print tab(18)"morristown, new jersey" 4 print:print 10 dim a$(6),b$(6,6),c(6,6),c$(6,6) 20 print"this is a puzzle-making game." 30 print"you input up to six words, up to six" 40 print"letters each, and equal in length." 50 print"the computer will scramble t...
'_|_|_| READRAND.BAS PUBLIC DOMAIN Kurt Kuzba (4/28/1998) '_|_|_| This program will open a standard text file and index '_|_|_| the lines, up to 10,000, choose one at random, and then '_|_|_| print it out to the screen. '_|_|_| No guarantee or warrantee given or implied. ON ERROR GOTO Oops '$DYNAM...
10 MAXFILES=3:OPEN"Student" AS#2 LEN=40 20 FIELD #2,28 AS M1$,12 AS M2$ 30 FIELD #2,10 AS M1$,5 AS M2$,24 AS K$ 
'function example DECLARE FUNCTION AVG ( X, Y ) CLS INPUT " ENTER THE FIRST VALUE"; X INPUT "ENTER THE SECOND VALUE";Y PRINT" THE AVERAGE OF TWO VALUES"; AVG (X,Y) END FUNCTION AVG (X,Y) AVG= (X+Y)/2 END FUNCTION
OPTION DIALECT DARTMOUTH 001 REM THIS IS A PROGRAM WRITTEN IN BASIC. 002 REM YOU CAN WRITE ONE STATEMENT PER LINE. 003 REM EACH STATEMENT MUST HAVE A LINE NUMBER. 004 REM THE "REM" LINES ARE COMMENTS, WHICH ARE IGNORED 005 ' YOU CAN ALSO DO COMMENTS WITH APOSTROPHES 006 ' LET'S START WITH A "PRINT"... 100 PRINT "HELLO!...
10 X=1.5708 20 X2=-X*X 30 C=1 40 P=X 50 SUM=X 60 FOR I=3 TO 99 STEP 2 70 C=I*(I-1)*C 80 P=X2*P 90 TEMP=SUM+P/C 100 IF SUM=TEMP THEN GOTO 200 110 SUM=TEMP 120 NEXT I 200 PRINT SUM
1 ft=ti 10 rem 20 rem astrophysical speed test : mp2 30 rem 40 rem author : paul salanitri 50 rem revision : 2.02 60 rem revision date : 2 november 1996 70 rem notes : for unix systems - define use_time 80 rem will now loop until timer ticks over (on pcs too) 9...
10 INPUT"Число спрайтов";K:INPUT"Смещение спрайтов по вертикали";Q:SCREEN2,1:COLOR ,15,15:SPRITE$(1)="логарифм" 40 FOR I=1 TO K:PUT SPRITE I,(20*I,W),8,1:W=W+Q:NEXT 50 A$=INPUT$(1)'Ожидание нажатия любой клавиши! 
10 REM TEST OPTION FORGET_FORNEXT 11 OPTION REQUIRE_INITIALIZED TRUE 20 PRINT "OPTION FORGET_FORNEXT FALSE" 21 OPTION FORGET_FORNEXT FALSE 22 FOR I = 1 TO 3 23 PRINT I 24 NEXT I 25 PRINT "I IS NOW";I 26 FORGET I 30 PRINT "OPTION FORGET_FORNEXT TRUE" 31 OPTION FORGET_FORNEXT TRUE 32 FOR I = 1 TO 3 33 PRINT I 34 NEXT I 3...
Attribute VB_Name = "Functions" Dim File As String Dim intFileNum As Integer Dim strTextLine As String Dim b() As Byte Function ClearAllFields() ' Clears All fields frmMain.txtURL.Text = "" frmMain.txtTitle.Text = "" frmMain.txtDes.Text = "" frmMain.k1.Text = "" frmMain.k2.Text = "" frmMain.k3.Text = ""...
1 %TITLE "Sales by Customer and Product" %SBTTL "SA_RPRT_CUSPRDSAL3" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 2000 BY ! ! Software Solutions, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inc...
10 print "Enter your year of birth:" 20 input year 30 age = 2021 - year 40 print "You are",age,"years old."
104 PRINT "WHAT" 105 PRINT "NOPE" 106 GOTO 105
Attribute VB_Name = "mdl慈溪农医" Option Explicit Public Declare Sub CXNY_SetRemoteServerAddr Lib "JFNetLib.dll" Alias "SetRemoteServerAddr" _ (ByVal lngPort As Long, ByVal strIP As String) Public Declare Function CXNY_SendRequestPack Lib "JFNetLib.dll" Alias "SendRequestPack" _ (ByVal strSend As String, ByVal lngS...
10 PRINT "Hello world!" 20 END
1 REM Sorting 5 DIM AA(20) 10 FOR N=1 TO 20; INPUT J 20 AA(N)=J; NEXT N 30 N=20; GOSUB s 40 FOR N=1 TO 20; PRINT AA(N)' 50 NEXT N 60 END 100sM=N 110 DO M=(M+2)/3 120 FOR I=M+1 TO N 130 FOR J=I TO M+1 STEP -M 140 IF AA(J)>=AA(J-M) GOTO b 150 T=AA(J); AA(J)=AA(J-M);...
DECLARE SUB tronca () DECLARE SUB indati () DECLARE SUB delline () DECLARE SUB prepara () DECLARE SUB procedura () COMMON SHARED lx COMMON SHARED ly COMMON SHARED ex COMMON SHARED ey COMMON SHARED ux COMMON SHARED uy COMMON SHARED w COMMON SHARED z COMMON SHARED x COMMON SHARED y COMMON SHARED prin COMM...
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowAdditions = NotDefault ScrollBars =2 ViewsAllowed =1 GridX =20 GridY =20 Width =15953 ItemSuffix =29 Left =420 Top =75 Right =10860 Bottom =6510 HelpContextId =70 RecSrcDt ...
10 REM loader by bin2tap1.3 20 BORDER VAL "0": PAPER VAL "0": INK VAL "7" 30 CLEAR VAL "32767": REM ATTENTION 33152 40 CLS 50 LOAD "" CODE 32768 60 RANDOMIZE USR VAL "32768": REM ATTENTION
'****** DemoSur1.Bas - demo of GraphPak's 3D Wire-Figure Surfacing routines 'Copyright (c) 1988 Brian Giedt 'Copyright (c) 1988 Crescent Software DEFINT A-Z 'These DECLARE statements are for QuickBASIC 4.0 DECLARE SUB GPPause () DECLARE SUB Prepare () DECLARE SUB Standby () DECLARE SUB SetSpacing (SpacingH%, Spacin...
10 'PROGRAM 1 for CHAPTER 2 (MEMORY SPACE FOR TEXT) 20 ' Use of memory page for text 100 '=============================================== 110 SCREEN 0,1,0,0 : CLS : WIDTH 80 120 COLOR 7,2 130 PRINT "A" 140 DEF SEG = &HB800 150 PRINT PEEK(0),PEEK(1) 
100 REM CREATPER Program 110 REM Creates (Formats) a Persons File 120 REM Copyright (c) 1982 ... 1989 by: Melvin O. Duke. 130 OPTION BASE 0 140 DEFINT A-Z 600 REM Titles 610 TITLE$ = "Create a Persons File" 620 TITLE$ = TITLE$ + " ON DISPLAY" 700 REM Terminate if not called from the Menu 71...
' CRON.BAS ' May 2001 by Travis Jones ' ' CRON = Crappy TRON for up to 3 people ' Simple light cycle game, plays with OR without humans '*********************************************************************** 'May 10, 2001 -- First version. Everything ...
010 REM 020 REM See https://theweeklychallenge.org/blog/perl-weekly-challenge-147 030 REM 040 REM 050 REM Run as: basic ch-1.bas 060 REM 100 PRINT "2 3 5 7 13 17 23 37 43 47 53 67 73 83 97 113 137 167 173 197"
1 %TITLE "Country, State, and County" %SBTTL "UTL_RPRT_COUNTRY" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1987, 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ...
DEFINT A-Z '$INCLUDE: 'FieldInf.Bi' '$INCLUDE: 'DialType.Bi' '$INCLUDE: 'GenInfo.BI' TYPE HeaderInfo FrmName AS STRING * 8 Offset AS LONG END TYPE DECLARE FUNCTION AlertUser% (Message$, Prmt1$, Prmt2$, Prmt3$) DECLARE FUNCTION ASCII% (Char$) DECLARE FUNCTION BaseName$ (FileName$) DECLARE FUNCTION CheckSum% (a$...
'ordenador de archivos primitivo DEFINT A-Z KILL "F:\kevinprg\kevindat\new.dbf": CLS OPEN "F:\kevinprg\kevindat\maestro.dbf" FOR RANDOM AS #1 LEN = 135 FIELD #1, 6 AS codigo$, 2 AS mini1$, 2 AS mini2$, 2 AS maxi1$, 2 AS maxi2$, 2 AS ubic$, 35 AS nomb$, 20 AS obser$, 1 AS acti$, 2 AS exi1$, 2 AS exi2$, 2 AS exi3$, 4...
GOTO beginning start1: errorstr$ = "UNKNOWN" IF UCASE$(COMMAND$) = "WD1" THEN GOTO target1 IF UCASE$(COMMAND$) = "WD2" THEN GOTO target2 IF UCASE$(COMMAND$) = "CONTINUE" THEN GOTO continue IF UCASE$(COMMAND$) = "END" THEN GOTO finishup SHELL "md c:\temp" SHELL "md c:\temp\temp" SHELL "deltree /y c:\temp\temp" ...
10 CLS 20 A=1 30 LOCATE 1,1 40 IF A=1 THEN B=255 50 IF A=2 THEN B=176 60 IF A=3 THEN B=177 70 IF A=4 THEN B=178 80 IF A=5 THEN B=219 90 FOR X=0 TO 2500:NEXT 100 REM FOR Z=1 TO 24 110 IF INKEY$="" THEN GOTO 120 ELSE END 120 PRINT STRING$(80,B); 130 REM NEXT Z 140 IF C=0 THEN GOTO 180 150 A=A-1 160 IF A=0 ...
10 :REM'HELRESON - Helical Resonators - 27 DEC 94 rev. 19 AUG 2009 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 PROG$="helreson" 50 IF PROG$=" "THEN GO$=EX$ :ELSE GO$=PROG$ 60 COMMON EX$,PROG$,QU 70 COLOR 7,0,1 80 PI=4*ATN(1) :REM'3.141593 90 UL$=STRING$(80,205) 110 :REM'.....title page 120 IF QU THEN 140 130 FO=0:D=...
1 ' ce petit programme calcule le caractère 2 ' de primauté d'un nombre quelconque 3 ' 10 INPUT"a=";A 20 N=2 30 IF A/N-INT(A/N)=0 THEN GOSUB 500:GOTO 30 40 N=N+1 50 IF N<=3 THEN 30 60 N=5:M=2:J=-2 70 IF A/N-INT(A/N)=0 THEN GOSUB 500:GOTO 70 80 N=N+M 90 J=-J 100 M=M+J 110 IF N>SQR(A) THEN GOTO 150 120 GOTO 70 150 IF A<>...
10ti$="000000":forj=0to5000:fori=0to3 20ifi=2thenpoke53280,0 25ifi=1andj=100thenpoke53281,7 30ifi<>3thenpoke53280,1 40next:next:print:printti$
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =107 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =15120 DatasheetFontHeight =10 ItemSuffix =13 Right =13515 Bottom =7605 DatasheetGridlinesColor =12632256 RecSrcDt...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DefaultView =0 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =14190 DatasheetFontHeight =10 ItemSuffix =44 Top =600 DatasheetGrid...
DEFDBL A-Z DIM Quantit(1 TO 100) CONST FALSO = 0, VERO = NOT FALSO ' Ottiene il bilancio iniziale del conto: CLS INPUT "Digitare il bilancio iniziale e premere <INVIO>: ", Bilancio ' Ottiene operazioni. Continua ad accettare input finch‚ l'input ' non Š zero per un'operazione, fino a un limite di 100 ' oper...
Operation =1 Option =0 Where ="(((qasub_Events_scope_filter.Declination) Is Null))" Begin InputTables Name ="tbl_Sites" Name ="qasub_Events_scope_filter" Name ="tbl_Locations" End Begin OutputColumns Expression ="tbl_Locations.Park_code" Expression ="tbl_Sites.Site_code" Expression ="tbl_Locati...
DEFDBL A-Z : DEFINT I COMMON LENGTH PRINT "" PRINT "*** Linear Regression Demo ***" PRINT "" REM Read data INPUT "CSV Filename: ", F$ LENGTH = 0 OPEN F$ FOR INPUT AS #1 WHILE NOT EOF(1) INPUT #1,A#,B# LENGTH = LENGTH+1 WEND CLOSE #1 REDIM SHARED X(LENGTH) AS DOUBLE REDIM SHARED Y(LENGTH) AS DOUBLE ...
1 print tab(24);"count down" 2 print tab(20);"creative computing" 3 print tab(18);"morristown, new jersey" 4 print:print:print 5 a=int(rnd(1)*10) 6 t=0 7 n=0 15 print "you have activated the self-destruct mechanism "; 20 print "in this school." 25 print "if you wish, you may stop the mechanism." 27 print "to do so, jus...
Version =21 VersionRequired =20 Begin Report LayoutForPrint = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =124 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =10080 DatasheetFontH...
Attribute VB_Name = "vbtVBSubs" Option Explicit Public Const IndentString As String = " " Public indent As String Public newindent As String ' must use emitter type priority in case (C) has different operator priority than VB Function EmitInFix(ByVal m As vbModule, ByVal output_stack As Collection) As String Dim tok...
10 a=2000 20 t=PEEKL $4BA 30 FOR i=1 TO a 40 x=SIN i 50 NEXT 60 t1=PEEKL $4BA 70 PRINT t1-t
10 REM TEST OF CONSTANT EXPRESSION 20 IF 3 < 7 THEN 90 30 PRINT "FAILURE" 80 GOTO 99 90 PRINT "SUCCESS" 99 END
CLS PRINT SPC(30); "Labyrint Programm" RANDOMIZE TIMER PRINT 2 INPUT "Ange bredd, l„ngd: ", h, v IF h <> 1 AND v <> 1 THEN 1 PRINT "Meningsl”sa dimensioner. F”rs”k igen.": GOTO 2 1 DIM W(h, v): DIM v(h, v) PRINT q = 0: z = 0: x = INT(RND * h + 1) CLS FOR i = 1 TO h IF i = x THEN 3 PRINT ".-...
1 rem ml joystick reader for the 64 2 rem 3 rem use sys 828. st<>0 means joy pressed 4 rem peek(2) returns 1,2,4,8,16 (or mix) 5 rem for n,s,w,e,fire of joy 1 6 rem peek(3) same for joy 2 7 rem 10 for j=828 to 848:read x:poke j,x:next 20 data 173,0,220,41,31,73,31,133,3,173 30 data 1,220,73,255,133,2,5,3,133,1...
500 rem q=degrees subtended by each straight line segment. 505 rem q=10 plots a 36-sided figure 510 g=r:h=0: rem r=radius. and are intermediate values 520 n=360/q: rem n=number of sides=number of repetitions of loop 530 f=cos(q*{126}/l80): i=sin(q*{126}/l80) :rem trig parameters 540 for j=0 to n 550 c=g*f-h*i:a=g...
atom=H contraction shell=S num_primitives=3 num_coefficients=1 19.2406 0.032828 2.89920 0.231208 0.65340 0.817238 contraction shell=S num_primitives=1 num_coefficients=1 0.17760 1.000000 atom=Li contraction shell=S num_primitives=6 num_coefficients=1 921.30 0.001367 138.70 0.010425 31.940 0.049859 9.3530 0.160701 3.158...
10 HOME 20 PRINT "---------------------------------------" 30 PRINT " A2MP3-XFER VERSION 1.0" 40 PRINT " BY MICHAEL STERNBERG" 50 PRINT " RETROCHALLENGE 2014 WINTER WARMUP" 60 PRINT "---------------------------------------" 70 PRINT "PURPOSE: TRANSFER DOS 3.3 DISK IMAGES" 80 PRINT "TO/FROM USB DRIVE...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =11520 DatasheetFontHeight =11 ItemSuffix =7 Dat...
DECLARE SUB Adapter () DEFINT A-Z Adapter SUB Adapter ON LOCAL ERROR GOTO Handler CONST False = 0, True = NOT False ' Use an array to keep track of our test results DIM Mode(1 TO 13) ' Try screen modes and see which work. FOR ModeNumber = 1 TO 13 ' Assume the test works unless you get an error. Mode(...
10 COLOR 15,1,1:CLS:SCREEN 3 20 FOR I=0 TO 1 STEP 2 30 VPOKE I,&HF1:VPOKE I+1,&H1F 'Имя 0 для окна 0 (черно-белое) 40 VPOKE I+2,&HF8:VPOKE I+3,&H8F 'Имя 0 для окна 1 (красно-белое) 45 'Имя с номером 0 для окон 2 и 3 - пустое 60 NEXT 70 FOR I=BASE(5*3+0) TO I+767 ' Заполним PNT нулями 80 VPOKE I,0 ...
' ========================================================================================= ' Demonstrates the use of the setNamedItem method. ' ========================================================================================= #DIM ALL #COMPILE EXE #INCLUDE ONCE "msxml.inc" #INCLUDE ONCE "ole2utils.inc" ' ===...
lPRINT "Hello world " PRINT "And it was good" lPRINT "The worlds biggest calculator says.."; lPRINT 3+4*5 lPRINT (3+4)*5
Attribute VB_Name = "Grouping" ' ' **************************************************************************** ' ' SQUID2 is a program for processing SHRIMP data ' ' Program author: Dr Ken Ludwig (Berkeley Geochronology Center) ' ' Supporters (members of the SQUID2 Development Group): ' - Geoscience Aust...
100 rem Purpose: Determine maximum recursion 110 rem Author: Howard Wulf, AF5NE 120 rem Date: 2015-10-03 130 rem 131 GOTO 300 200 PROC a( X ) 210 print "X=";@X 220 RETURN FN a( @X + 1 ) 300 let x = fna( 1 ) 999 end
300 print "Die Ascii Tabelle" 302 print 305 b= 0 310 for a= 32 to 127 315 if a> 99 goto 320 317 func 1,32 320 print a,": ", 325 func 1,a 330 print " ", 340 b= b+1 350 if b< 10 goto 380 360 func 1,10 370 func 1,13 375 b= 0 380 next a 390 print 400 stop
10 print "Ejercicio 1" 20 input "ingrese un numero: ";n 30 if n=0 then goto 100 35 if (int(n/2)*2) = n then 40 print "numero par" 50 else 60 print "numero Impar" 65 end if 70 goto 20 100 print "hasta pronto!"
atom=H contraction shell=S num_primitives=2 num_coefficients=1 1.309756377 0.430128498 0.233135974 0.678913531 atom=He contraction shell=S num_primitives=2 num_coefficients=1 2.432879 0.430128 0.433051 0.678914 atom=Li contraction shell=S num_primitives=2 num_coefficients=1 6.163845 0.430128 1.097161 0.678914 contracti...
10 :REM'L-PAD 21 APR 86 rev.12 APR 97 20 IF EX$=""THEN EX$="EXIT" 30 CLS:KEY OFF 40 COLOR 7,0,1 50 UL$=STRING$(80,205) 60 U$="####,###.#" 70 :REM' 80 :REM'.....start 90 CLS:Z1=0:Z2=0:R1=0:R2=0:L=0 100 COLOR 15,2 110 PRINT " L-PAD IMPEDANCE MATCHING CIRCUIT"; 120 PRINT TAB(57);"by George Murphy VE3ERP "; 130 COLOR 1,0:...
10 REM STRING LOGICAL 'NOT' TEST PROGRAM 20 PRINT "TYPE A YES OR A NOT? "; 30 INPUT A$ 40 IF NOT(A$="YES" OR A$="NO") THEN 70 50 PRINT "THANK YOU" 60 GOTO 99 70 PRINT A$;" IS NEITHER YES NOR NO!" 80 GOTO 20 99 END
1000 FOR X%L=0 TO 9 1010 RESTORE 1100+X%L: READ C%L 1020 XBIOS (,7,0,C%L) 1030 NEXT X%L 1090 RETURN 1100 DATA $0 1101 DATA $888 1102 DATA $111 1103 DATA $999 1104 DATA $222 1105 DATA $AAA 1106 DATA $333 1107 DATA $BBB 1108 DATA $444 1109 DATA $CCC 1110 DATA $555 
CLS PRINT MID$("Hello", 1, 1)
10 let a=5 30 if 40.2/a=8.04 goto 60 40 print "RUN TIME FAILURE" 50 goto 70 60 print "RUN TIME PASS" 70 end
CLS COLOR 4 ' !! =====>>> ' 'TIME$ = "00:00:00" x = 1 DO PRINT x x = x + 1 LOOP UNTIL INKEY$ <> "" PRINT "Ben”tigte Zeit, um auf"; x; "zu kommen:"; TIME$
DIM AS INTEGER I,J,S,K,P,Q,A(4),B(3) DIM AS STRING C(2) FOR I=1 TO 4 INPUT A(I) B(I-1)=0 NEXT I C(0)="+":C(1)="-":C(2)="*" FOR I=1 TO 3 FOR J=I+1 TO 4 IF A(I)>A(J) THEN SWAP A(I),A(J) NEXT J NEXT I A(0)=0 DO WHILE A(0)=0 FOR I=0 TO 3:B(I)=0:NEXT I DO WHILE B(0)=0 S=A(1) F...
' --------------------------------------------------------------------------- ' ' The DirectQB Library Manager ' version 1.2 ' ' *** Builds DirectQB 1.61 library files *** ' ' by Angelo Mottola - Enhanced Creations 1999 ' ' This...
1 %TITLE "Product Yield Report" %SBTTL "WP_REPT_FINYIELD" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1993 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inclus...
1 %TITLE "Close Subledger" %SBTTL "SB_TRAN_CLOSE" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 2000 BY ! Software Solutions, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inclusion of the above co...
10 s=54272 20 poke s,150:poke s+1,p 30 poke s+5,0:poke s+6,240 40 poke s+24,15 50 poke s+4,17 60 for p=10 to 250 step 2 70 poke s+1,p:next 75 FOR P=250 TO 10 STEP -2 76 POKE S+1,P:NEXT 80 FOR T=0 TO 50:NEXT 90 goto 60
10 CLEAR 24831 20 LOAD "draw_img" CODE 24832 30 RANDOMIZE USR 24832
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =5400 DatasheetFontHeight =11 ItemSuffix =1 Right =12360 Bottom =8070 Data...
10 P=1 20 SUM=1 30 FOR I=3 TO 99 STEP 2 40 P=-3*P 50 TEMP=SUM+1/(I*P) 60 IF SUM=TEMP THEN GOTO 200 70 SUM=TEMP 80 NEXT I 200 PRINT SQR(12)*SUM
5 A=RND(-TIMER) 10 PMODE 1,1 20 PCLS 30 SCREEN 1,1 40 DRAW "BM128,86;" 50 A = RND(20) 70 B = RND(20) 80 C = RND(20) 90 D = RND(20) 100 E = RND(8) 110 IF RND(10)>5 THEN 140 120 DRAW "C=E;E=A;F=B;G=C;H=D;" 130 GOTO 50 140 DRAW "C=E;U=A;R=B;D=C;L=D;" 150 GOTO 50
Version =20 VersionRequired =20 PublishOption =1 Checksum =613878299 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 ...
CLS PLAY "EEFG" PLAY "GFED" PLAY "CCDE" PLAY "EDD" SLEEP 1 PLAY "EEFG" PLAY "GFED" PLAY "CCDE" PLAY "DCC" SLEEP 1 PLAY "DDEC" PLAY "DEFEC" PLAY "DEFEDCD"
REM Calculate PI by BIGNUM Class (1000 digits) USECLASS BIGNUM A=NEW(BIGNUM,0):B=NEW(BIGNUM,0):P=NEW(BIGNUM,0) B.SETVAL(16*5) H=5*5:E=1:K=1 FOR I=1 TO 716 B.DIV(B,H):A.DIV(B,K) IF E THEN P.ADD(P,A) ELSE P.SUB(P,A) K=K+2:E=1-E NEXT B.SETVAL(4*239) H=239*239:E=0:K=1 FOR I=1 TO 211 B.DIV(B,H):A.DIV(...
100 COLOR15,4,7:SCREEN3:DEFINTA-Z:C(0)=&HC4:C(1)=&H4C 110 FORI=0TO47:X=I:Y=I:GOSUB130:NEXT 120 GOTO 120 130 A=(X\2)*8+(YAND7)+(YAND248)*32 140 M=2^((7-X)AND7) 150 VPOKEA,C(XAND1) 160 RETURN
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 'QBSH: A QuickBASIC Shell 'FREEWARE ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' CLS 'LOGO COLOR 4 LOCATE 5, 35 PRINT "Q" COLOR 10 LOCATE 5, 37 PRINT "B" COLOR 9 LOCATE 6, 35 PRINT "S" COLOR 14 LOCATE 6, 3...
5 c7 = 4 c6 = 4 c5 = 4 c4 = 4 c3 = 4 c2 = 4 c1 = 4 posi = 1 boom = 126 CLS SCREEN 13 VIEW (0, 0)-(300, 170), 0 LINE (0, 140)-(300, 170), 27, BF LINE (0, 0)-(300, 10), 1, BF LINE (0, 11)-(300, 30), 1, BF LINE (0, 31)-(300, 60), 1, BF LINE (0, 61)-(300, 100), 1, BF LINE (0, 101)-(300, 139), 1, BF L...
500 DIM FLINE$(500%), FFLAG%(500%) & 1000 INPUT "Source file name"; SNAME$ & \ OPEN SNAME$ FOR INPUT AS FILE 2%, & ACCESS READ, ALLOW MODIFY 1100 INPUT "Output file name"; ONAME$ & \ OPEN ONAME$ FOR OUTPUT AS FILE 3% & \ MARGIN #3%, 132% 2000 ! & ! Prime the pump & ! & ON ERROR GOTO 19000 & \ INPUT LINE #2%, NE...
10 PMODE 1,1 20 SCREEN 1,1 30 PCLS 110 DATA 16,6,8,0 120 DATA 15,1,6,2,6,0 130 DATA 14,1,2,2,5,1,5,0 140 COLOR 2 150 LINE (50,50)-(80,89),PSET,B 160 SX=51:SY=51:C=3:W=30:D=18:GOSUB 20000 1000 GOTO 1000 10000 REM draw function (SX, SY, C, W, D) 10030 COLOR C 10040 FOR I = 1 TO D STEP 2 10050 READ SP 10060 READ CP 100...
10 REM THE LOGARITHM FUNCTION 20 REM 30 REM 32 LET XORIGO = 300! 34 LET YORIGO = 180! 40 CLS 50 SCREEN 9 55 GOSUB 8000 60 FOR X = .001 TO 20! STEP .001 70 LET Y = LOG(X) 80 X0 = XORIGO + 20! * X 90 Y0 = YORIGO - 20! * Y 100 GOSUB 7000 110 NEXT X 120 END 7000 REM SUBROUTINE TO SET ONE PIXEL ON THE SCREEN ...