text stringlengths 7 5.36M |
|---|
10 print "{up} testing... ";
100 @1800:00 11 22 33
101 @1804:44 55 66 77
102 @1808:88 99 aa bb
103 @180c:cc dd ee ff
104 @1810"text1234"
110 =1800 00 11 22 33
111 =1804 44 55 66 77
112 =1808 88 99 aa bb
113 =180c cc dd ee ff
114 =1810 54 45 58 54
115 =1814 31 32 33 34
999 print "{blue}[ok]{black}"
1000 print"* imm... |
SUB POLDIV (U(), N, V(), NV, Q(), R())
FOR J = 1 TO N
R(J) = U(J)
Q(J) = 0!
NEXT J
FOR K = N - NV TO 0 STEP -1
Q(K + 1) = R(NV + K) / V(NV)
FOR J = NV + K - 1 TO K + 1 STEP -1
R(J) = R(J) - Q(K + 1) * V(J - K)
NEXT J
NEXT K
FOR J = NV TO N
R(J) = 0!
NEXT J
END SUB
|
10 PRINT "HELLO";POS(0);"WORLD"
20 PRINT "HELLO";SPC(5);"WORLD"
30 PRINT "HELLO";TAB(10);"WORLD"
|
1 REM INTERCEPTOR
10 POKE53281,7:POKE53280,0:PRINT"{clear}";TAB(14);"{black}interceptor":PRINT"{down*12}"
15 V=53248:POKE2040,192:POKE2041,193:POKE2042,193:POKE2043,193:POKE2044,194
20 POKE2045,194:POKE2046,195:POKE2047,192:POKEV+40,0:POKEV+41,0:POKEV+42,2
25 POKEV+43,11:POKEV+44,11:POKEV+45,3
30 FORI=12288TO12309STEP3... |
REM @english
REM STRING MANIPULATION WITH CHR (1)
REM
REM This example print out a short list of printable characters.
REM
REM @italian
REM MANIPOLAZIONE DI STRIGHE CON L'USO DI CHR (1)
REM
REM Questo esempio stampa un breve elenco di caratteri stampabili.
FOR i = 32 TO 256
PRINT CHR(i);" ";
NEXT
... |
10 for x=0 to 62:read a:poke 12288+x,a:next
20 for x=0 to 62:read a:poke 12352+x,a:next
30 for x=0 to 62:read a:poke 12416+x,a:next
40 for x=0 to 62:read a:poke 12736+x,a:next
50 print"{clr}":v=53248:poke 53281,0:p=192:x1=50:y1=50:a=168:b=148
60 poke 2040,p:poke 2041,199
70 poke v+21,255:poke v+28,255:pok... |
DECLARE FUNCTION Fib% (N%)
PRINT "Enter the number of fibonacci to calculate"
INPUT N%
FOR I% = 0 TO N%
PRINT "Fibonacci of ", I%, " is ", Fib%(I%)
NEXT
FUNCTION Fib% (N%)
IF N% <= 1 THEN
Fib% = N%
ELSE
Fib% = Fib%(N% - 1) + Fib%(N% - 2)
END IF
END FUNCTION
|
Attribute VB_Name = "vbwErrHandler"
Option Explicit
Public Enum vbwEnumRetCode
vbwEnd = vbAbort ' = 3 '
vbwRetry = vbRetry ' = 4 '
vbwIgnoreLine = vbIgnore ' = 5 '
vbwAlwaysIgnore
vbwDebug ' not used here
vbwDoDumpVariable
vbwCollapse ' not used here
End Enum
Public vbwR... |
Option _Explicit
Do Until _ScreenExists: Loop
_Title "Sanctum 2022"
' Hardware.
'Screen _NewImage(640, 480, 32)
Screen _NewImage(800, 600, 32)
'Screen _NewImage(1024, 768, 32)
_FullScreen , _Smooth
_MouseHide
' Performance.
Dim Shared As Integer FPSTarget
FPSTarget = 60
' Color constants.
Const Aquamarine = _RGB3... |
5 print chr$ (147);"......"
10 rem this program will make it easier to enter machine code programs
20 read a
30 if a=-1 then goto 70
40 poke 49152+x,a
50 x=x+1
60 goto 20
70 print "before...-location 1024";peek(1024)
80 sys 49152
90 print "after... -location 1024";peek(1024)
100 end
1000 data 169,24:rem lda#... |
5 ' Calcul du PGCD
6 ' Source : Microthom 1 (1985)
10 INPUT A, B
20 R = A MOD B: A = B: B = R
30 IF R <> 0 THEN 20
40 PRINT A
|
OPEN "data.omg" FOR INPUT AS #1
INPUT #1, TimeTravel
INPUT #1, Lives
INPUT #1, BioEng
INPUT #1, BioEng2
INPUT #1, BioEng3
INPUT #1, Boom
INPUT #1, LowTroub
INPUT #1, HighTroub
INPUT #1, Idiot
INPUT #1, Find
INPUT #1, Erased
INPUT #1, Dna$
INPUT #1, Strand$
INPUT #1, Dna1
INPUT #1, DNAo$
INPUT #1, Strando$
INPUT #1, Dna... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =943427504
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
BorderSty... |
5 REM "MU" Model Universe
6 REM \* W.R.Masefield 1983
10 REM Input Data
20 CLS :\
PRINT "MODEL UNIVERSE":\
PRINT
30 INPUT "First Body: Mass? ";m1,"Velocity? ";v1,"Angle? ";a1,"x coord? ";x1,"y coord? ";y1,"Second Body: Mass? ";m2,"Velocity? ";v2,"Angle? ";a2,"x coord? ";x2,"y coord? ";y2,"Gravitat... |
DEFINT A-Z
DECLARE SUB Suma1dia (dat$, caso%)
DECLARE SUB GringoAEspanol (dat$)
DECLARE FUNCTION QuitaBarra$ (dat$)
DECLARE FUNCTION DateToJulian& (dat$, caso%)
DECLARE FUNCTION TrataFechas$ (dat$, fechaentra$, fechasale$)
CONST true = -1, false = 0
DIM SHARED fx AS STRING * 33
OPEN "F:\kevinprg\kevindat\new.... |
10 REM THIS PROGRAM COMPUTES 3 X 3 MATRIX OPERATIONS
20 PRINT "ENTER 3 X 3 MATRIX"
30 INPUT A,B,C,D,E,F,G,H,I
40 REM COMPUTE DETERMINANT OF 3X3
50 LET M = (A*E*I) + (B*F*G) + (C*H*D)
60 LET N = M - (C*E*G) - (F*H*A) - (I*D*B)
70 REM COMPUTE INVERSE
80 LET O = ((E*I) - (H*F))/N
90 LET P = ((G*F) - (D*I))/N
100 LET Q = (... |
!Frequency Counter using USB keyboard
!GR.OPEN 255, 255, 255, 255, 1 %white
GR.OPEN 255, 0, 0, 0, 1 %black
GR.ORIENTATION 0 %landscape
GR.SCREEN w,h
start=0
start2=0
DO
INKEY$ k$
IF k$<>"f"
IF k$="z" THEN k$="0"
IF k$="b" THEN start=1
IF k$<>"@" & start THEN
IF k$<>"c" & k$<>"b" THEN freq$=freq$+k$
... |
10 REM "Nice text by Nicepods. This program is provided "AS IS" without any warranty of any kind."
20 REM "Written by Rainier Wong on Jan 2, 2006"
30 REM "Copyright (C) Rainier Wong 2006 Copyright (C) Nicepods 2006"
40 REM "You may freely modify this program for your personal use."
50 CLS
60 PRINT "This program i... |
1 REM TEST INPUT STRINGS
5 REM
10 CLEAR 1000: REM STRING SPACE IN MEMORY
20 INPUT "PHONE NUMBER ():";P$
50 INPUT "MESSAGE (128 MAX):";M$
100 PRINT "PHONE NUMBER: " LEN(P$) "CHARACTER(S)"
110 PRINT "MESSAGE: " LEN(M$) "CHARACTER(S)"
900 END: REM SAFETY END |
'*****************************************************************************
'***************************** POPANOYE v1.0 *********************************
'*****************************************************************************
'*****************************************************************************
... |
REM texture mapping
SCREEN 13
DIM bitmap(15, 15)
'Do a bitmap
FOR i% = 0 TO 15
FOR j% = 0 TO 15
bitmap(i%, j%) = i% * 16 + j%
NEXT
NEXT
pi = 3.141592653589#
eyeheight% = 100
eyedistance% = 100
ymax% = 199
xmax% = 319
xoffset% = 0
yoffset% = 0
angle = 0
DO
FOR i% = ymax% TO ymax... |
PRINT "Hello Arsh!"
|
Operation =1
Option =0
Where ="(((dbo_ProjectComponentHeader.ArtArrivedDate) Is Not Null) AND ((dbo_ProjectComp"
"onentHeader.ProofSentDate) Is Null) AND ((dbo_ProjectHeader.DocketNum) Is Not Nu"
"ll) AND ((dbo_ProjectHeader.InvoiceNum) Is Null) AND ((dbo_ProjectHeader.void)=F"
"alse))"
Begin InputTables
... |
Attribute VB_Name = "DrawRR"
Const PI = 3.14159265358979
Public Sub Draw(OLE_Par As PictureBox, X As Single, Y As Single, Width As Single, Heigth As Single, dr As Single, Radious As Single, Color As Variant)
Dim X1 As Single, X2 As Single, X3 As Single, X4 As Single
Dim Y1 As Single, Y2 As Single, Y3 As Single... |
1 %TITLE "Sales File Maintenance"
%SBTTL "PR_MAIN_SALES"
%IDENT "V3.6a Calico"
FUNCTION LONG PR_MAIN_SALES(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 a... |
80 REM *** REVERSE WRITTEN BY BOB ALBRECHT, PEOPLE'S COMPUTER CO
90 REM *** MODIFIED AND CONVERTED TO BASIC-PLUS BY DAVID AHL
100 PRINT\PRINT "REVERSE -- A GAME OF SKILL"\PRINT
120 RANDOMIZE
130 DIM A(20)
140 REM *** N=NUMBER OF NUMBERS
150 N=9\G=0\T1=0
160 INPUT "DO YOU WANT THE RULES (YES OR NO)";A$
180 IF A$... |
1 rem returns p=-41 to +41
10000 pp=peek(56320)
10010 p=((ppand4)=0)-((ppand8)=0)+40*((ppand1)=0)-40*((ppand2)=0)
10020 return |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
ViewsAllowed =1
TabularCharSet =186
PictureAlignment =2
DatasheetGridlinesBehavior =3
Cycle =1
... |
CLS
SCREEN 13
CIRCLE (160, 100), 20
PAINT (160, 100), 15
COLOR
PRINT "***AGE TESTER***"
COLOR 14
PRINT " Made by MUKTO"
COLOR 4
PRINT "Hello :) How are you today? Please enter your"
... |
'
' Demo of disabling menu items when top window does not belong to program
' for Ictari, by Keith Baines, January 1995
'
' Compile with HiSoft Basic 2.10 or after
'
REM $OPTION Y+,K20
DEFINT A-Z
LIBRARY "GEMVDI","GEMAES"
REM $INCLUDE MENUDEMO.BH
COMMON SHARED dummy
CONST TRUE=-1
CONST FALSE=0
CALL... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =5220
DatasheetFontHeight =11
ItemSuffix =3
Right =13515
Bottom =7605
Data... |
10 REM WHILWEND.BAS -- Test WHILE-WEND Loops
20 PRINT "START"
30 LET X = 0
40 WHILE X < 25
50 PRINT "x is ";X
60 LET X = X + 1
70 LET Y = 0
80 WHILE Y < 2
90 PRINT "y is "; Y
100 LET Y = Y + 1
110 WEND
120 WEND
130 PRINT "END"
|
Attribute VB_Name = "D3DInit"
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
' Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
'
' File: D3DInit.bas
' Content: VB D3DFramework global initialization module
'
''''''... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =25510709
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =17340
DatasheetFontHeight =11
ItemSuffix =26
... |
1 %TITLE "Maintain Customer Licenses"
%SBTTL "SS_MAIN_LICENSE"
%IDENT "V3.6a Calico"
FUNCTION LONG SS_MAIN_LICENSE(CDD_WINDOW_CDD SMG_WINDOW, &
LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1989 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This software is fur... |
10 PRINT SQR(2)
20 PRINT SQR(65536)
|
' #############################################################################
' # #
' # UFO in space with a tail that fades out. #
' # #
... |
10 ' Dungeon Game by AO
20 DIM FL$(18):DIM FR$(18):DIM FM$(10):DIM MR$(10):DIM ML$(10):DIM MM$(6)
30 DIM BL$(6):DIM BR$(6)
40 INPUT "Would you like to use a custom wall design";A$
50 IF MID$(A$,1,1)="Y" OR MID$(A$,1,1)="y" THEN GOTO 70
60 CLS:LET WALLFILE$="default.wal":GOTO 110
70 INPUT "Enter the name of the f... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =1210451267
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
ControlBox = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
... |
10 rem conditional assembly
20 code = 49152
30 print chr$(147)
40 print spc(8)
50 print "conditional assembly"
60 print "press 1 to assemble mbadd"
70 print " 2 to assemble mbsub"
80 get a$
90 a = val(a$)
100 if a = 1 then goto 200
110 if a = 2 then goto 300
120 goto 80
130 rem
190 rem assemble mbadd
... |
1 'Example of FRE, FREE statement
10 PRINT "Variable space left = ";FRE(X)
20 PRINT "String space left = ";FRE(X$)
|
1 !
! This program is used to fix up the codes in
! Coastals Payroll files when they were entered
! without the right codes.
!
OPTION SIZE = (INTEGER LONG, REAL GFLOAT)
%INCLUDE "SOURCE:[PR.OPEN]PR_TRN_DED.HB"
MAP (PR_TRN_DED) PR_TRN_DED_CDD PR_TRN_DED
LINPUT "Folder (YYYYMMDD) "; BATCH_NO$
100 !
!=========... |
711 ON ERROR GOTO 2000
DEFDBL X-Y
DIM a(5), c(7), ch(7, 29), d(9), dr(10, 5), Fire(8), n(6, 10), dw(10), de(10), da(10, 16), loc$(39), thickness(39), RAD(39), refDEN(39), refALT(39)
DIM ASTROrad(8), ASTROstat(8), zAs(8), starN(10), ASTROhealth%(8, 7), temp(6)
DIM x(39) AS DOUBLE
... |
10 REM THIS PROGRAM HAD AN ERROR BUT IS FIXED
100 PRINT "NUMBER", "SUM"
110 LET S = 0
120 READ N
130 FOR K = 1 TO N
140 LET S = S + K
150 NEXT K
160 PRINT N,S
170 GO TO 110
180 DATA 2, 5, 10
200 END
|
CLS
SCREEN 1
g = 150
h = 100
DIM xc(4): DIM yc(4)
LET xc(1) = 130
LET yc(1) = 80
LET xc(2) = 180
LET yc(2) = 80
LET xc(3) = 130
LET yc(3) = 110
LET xc(4) = 180
LET yc(4) = 110
LINE (0, 0)-(xc(1), yc(1))
LINE (0, 190)-(xc(3), yc(3))
LINE (315, 0)-(xc(2), yc(2))
LINE (315, 190)-(xc(4), yc(4))
LINE (xc(... |
' *************************************
' * LED-NIXIE Clock Demo *
' * LED-Basic >= 15.1.15 required *
' * modified by Vanessa Ver. 1.60 *
' * partially from Dougs's ver.D1.02 *
' *************************************
'
' Operations manual:
'
' On startup, the display shows the software version fo... |
SUB s$
LET s$ = "Ok"
END SUB
SUB f(x$, y)
PRINT 3.14
PRINT y
PRINT "Halo!"
PRINT x$
PRINT "--> " & x$
PRINT s$()
END SUB
|
10 INPUT M,N:X$=" ":M$=STR$(M):N$=STR$(N)
40 FOR I=2 TO LEN(N$):FOR J=2 TO LEN(M$)
50 IF MID$(N$,I,1)=MID$(M$,J,1) THEN MID$(N$,I,1)=X$:MID$(M$,J,1)=X$:NEXTI:PRINT"Можно!" ELSE NEXTJ:PRINT"Нельзя!"
|
10 open 1,8,4,"kernal 02"
20 open 2,8,5,"kernal 03"
30 for j=14*4096 to 65535
40 get#1,x$:get#2,y$
50 if x$<>y$ then print j; "new=" asc(y$+chr$(0))
60 next:close 1:close 2 |
10 REM **EAT
20 FOR I = 768 TO 793: READ J: POKE I,J: NEXT
30 DATA 169,200,133,1,234,234,173,48,192,136,208,4,198,1,240,8,202,208,246,166,0,76,7,3,96
40 TEXT : HOME : NORMAL
50 COLOR= 10
60 HLIN 0,39 AT 0: HLIN 0,39 AT 36: VLIN 0,36 AT 0: VLIN 0,36 AT 39
70 VTAB 9: HTAB 15: PRINT "E A T !"
80 VTAB 12: HT... |
10 PRINT "VGM DUMP"
20 *LOAD TEST
21 TIME=0
30 CALL &5E00
40 T=TIME
41 T=T*10
50 C=?&70 + ?&71 * 256
51 PRINT
60 PRINT "TIME (MS) =",T
70 PRINT "FRAME COUNT =",C
80 PRINT "PER FRAME (MS) =",T/C
81 END
90 PRINT "DUMPING"
91 *LOAD TEST
100 REM INIT
110 CALL &5F00
111 X=OPENOUT "VGM"
120 REPEAT
130 CALL &6000
140 A = A%
1... |
DIM SHARED PI AS _FLOAT
DIM SHARED ScreenMain AS LONG
DIM SHARED Image1 AS LONG
DIM SHARED Image2 AS LONG
DIM CenterX AS LONG
DIM CenterY AS LONG
DIM StartX AS INTEGER
DIM StartY AS INTEGER
DIM EndX AS INTEGER
DIM EndY AS INTEGER
DIM Factor AS _FLOAT
DIM FactorInc AS _FLOAT
PI = 3.141592653589793
MainWindow = _NEWIM... |
DECLARE FUNCTION DetectVESA% ()
DECLARE FUNCTION SetSVGAMode% (mode%)
DECLARE SUB SVGAInit (winGran%, Xres%, yres%, bpp%, ppSeg%, pages%)
DEFINT A-Z
TYPE RegTypeX
ax AS INTEGER
bx AS INTEGER
cx AS INTEGER
dx AS INTEGER
bp AS INTEGER
si AS INTEGER
di AS ... |
1 %TITLE "Sales Journal Line Item Maintenance"
%SBTTL "AR_MAIN_SJ_LINE"
%IDENT "V3.6a Calico"
FUNCTION LONG AR_MAIN_SJ_LINE(CDD_WINDOW_CDD SMG_WINDOW, &
LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This ... |
10 REM Purpose: Verify 'TIM(X)' is elapsed execution time
20 REM Author: Howard Wulf, AF5NE
30 REM Date: 2015-10-21
40 REM Note: OPTION VERSION MARK-I
50 REM Note: The execution speed is implementation defined
100 REM +---------------------------------------------------------------------... |
DECLARE SUB Preview (nr%)
DECLARE SUB DisplayChar (n%, x%, y%)
DECLARE SUB DisplayString (str AS STRING, x%, y%)
DECLARE SUB DisplayFonts ()
DECLARE SUB DisplayTable (x%, y%)
DECLARE SUB SetFont (fontName AS STRING, size%)
DECLARE SUB SetFontSize (pixels%)
DECLARE SUB SetScale (factor%)
DECLARE FUNCTION GetNextFont$ ()... |
PRINT "Je suis le Docteur !"
PRINT "Voici mon T.A.R.D.I.S."
|
Attribute VB_Name = "FINAN_DERIV_MIN_MAX_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.
'************************************************************... |
5 REM IF the peek in line 20 is not 254, then 13*0, else 13*-1
8 REM on line 36, the semicolon appends the previous printed string
10 PRINT "{clear}"
20 POKE 53281, 0
30 FOR i=0 TO 40
36 PRINT "{reverse on}{yellow} ":next |
1000 RANDOMIZE TIMER:IF REPT=1 THEN GOTO 1006
1001 PRINT "Select type of terrain"
1002 PRINT "Roadside and Wilderness - 1"
1003 PRINT "Town and City - 2"
1004 PRINT "Ocean - 3"
1005 INPUT I: PLC = I: IF I <> INT (I) OR I < 1 OR I >3 THEN GOTO 1005
1006 ON ... |
1 REM read and print the value from IOB
10 R=&hA0
20 D=&hA1
30 OUT R,7: REM select mixer register
40 OUT D,0: REM ensure IOB is set to be an input
50 OUT R,15: REM select IOB register
60 PRINT INP(R): REM read IOB value
70 GOTO 60 |
10 PRINT "Hello, world! From GW-Basic!"
20 SYSTEM
|
Check 4C5DF7CB
Auto 8224
1 REM strings
2 REM
3 REM
4 REM
5 REM
10 LET a$="abcdef"
20 FOR n=1 TO 6
30 PRINT a$(n TO 6)
40 NEXT n
50 STOP
51 REM
52 REM
53 REM -----------------------------------------
54 REM
55 REM
110 LET a$="ABLE WAS I"
120 FOR n=1 TO 10
130 PRINT a$(n TO 10),a$((1... |
5 poke 53280,5:poke 53281,0
10 print"{clear}{down*2}{yellow}"tab(8)"{cm @*24}"
20 print tab(8)"{reverse on} marshall cavendish ltd "
30 print tab(10)"{down*13}{cm @*20}"
35 print tab(10)"{reverse on} copyright (c) 1984 "
40 print tab(6)"{down*3}{cyan}press space bar to continue"
50 poke 198,0
60 poke 646,rnd(1)*6+2
70... |
IMPORT prog_1
SUB main (param0, param1)
MOVEL 13.1+( 6-7 ) 2.2 3.3 4.4 5.5 6.6 50 CNT -1 ;ACC 40 ;OFFSET J_VEC (100, 0, 0, 45, 0, 0);TOOL_OFFSET J_VEC (100, 0, 0, 45, 0, 0);TA 100 ASSIGN R[1] = 5+( 6-7 );TB 100 CALL prog_demo_dec::prog_1 (1, 2)
MOVEL 12.1 2.2 3.3 4.4 5.5 6.6 30 SD 50 ;ACC 40 ;OFFSET C_VEC_UF... |
\******************************************************************************
\******************************************************************************
\***
\*** CURRENT ITEM MOVEMENT & STOCK FILE FUNCTIONS
\***
\*** REFERENCE : IMSTCFUN.BAS
\***
\*** VERSION A Les Cook ... |
21000 !!! ISAM (KEVIN'S BASE; BILL LORTZ' SORT--SEP. 16, 1980)
21004 PRINT "Fall through to ISAM!" &
: STOP
21005 DIM Q$(12%),Q%(12%,11%) &
21010 DEF FNO%(C%,C$,C1$,C2$) &
: ON ERROR GOTO 21900 &
: Q9%=0% &
: Q1%=INSTR(1%,C$,"<") &
: C$=LEFT(C$,Q1%-1%) IF Q1%
21020 Q9%=46% IF C%<1% OR C%>11% &
: UNLE... |
' The line drawing isn't exactly the same as QB45, although I tried.
' Tweaking the constants in the line-drawing function, I was able to match lines perfectly
' for many orientations.
REM compare_screenshot 0.008
SCREEN 13
C = 1
FOR I = 0 TO 300 STEP 10
CN = I / 5 - 30
LINE (I, 0)-(150 + CN, 100 - 20), C
C = C ... |
'********** Marquee.Bas
'demonstrates a cute way to display a message while waiting for a key press
'Copyright (c) 1988 Ethan Winer
DEFINT A-Z
DECLARE SUB Marquee (Message$, Row, Colr)
DECLARE SUB Pause (Ticks)
DECLARE SUB QPrint (X$, Colr, Page)
CLS
Message$ = "This is a scrolling message . . . "
PRINT "Press a k... |
Attribute VB_Name = "modCeE3D_Client2"
Option Explicit
Public ceBase As New CeE3DBase
Public ceAux As New CeE3DAux
Public ceModel As New CeE3DModel
Public ceUtil As New CeE3DUtil
Public ceEnv As New CeE3DEnv
Public ceRender As New CeE3DRender
Public lt As Object
Public Const AUX_RGB = 0
Public Const AUX_RGBA = 0
Pub... |
Attribute VB_Name = "VANTIVE_CADASTRO"
Sub Atualizar_hora_CADASTRO()
Dim ARQUIVO, data, PID_VANTIVE As String
Dim I
ARQUIVO = Sheets("PREMISSAS").Cells(20, 2).Value
For I = 98 To 114
If Cells(I, 1).Value = "" Or Cells(I, 1).Value <> 1 Then
I = I - 1
... |
' Program "DEMONLP" December 26, 1992
'
' Copyright (c) 1991, 1992 Crescent Software
'
' This program demonstrates the procedure for calling
' the subroutines required to solve constrained
' non-linear optimization problems.
'
' This program attempts to solve the minimum cost
' cylindrical tank desig... |
10 FILE$ = ENVIRON$("TEST_TMP_DIR") + "/" + ENVIRON$("TEST_FILENAME")
30 OPEN "R", #1, FILE$, 24
40 FIELD#1, 8 AS A$, 8 AS B$, 8 AS C$
50 FOR I% = 1 TO 5
60 LSET A$ = STR$(I%)
70 LSET B$ = STR$(I% + 1)
80 LSET C$ = STR$(I% + 2)
90 PUT #1
100 PRINT LOC(1), LOF(1)
110 NEXT I%
120 FOR I% = 1 TO 5
130 GET #1, I% - 1
140 PR... |
' Program "DEMODETM" February 12, 1991
'
' Copyright (c) 1988, 1989, 1990, 1991 Crescent Software
'
' This program demonstrates the procedure for calling
' subroutine DETERMIN which solves for the determinant
' of an N by N matrix [ A ].
'
'******************************************************
DEFIN... |
5 'KAWAKUDARI TAISEN
10 CLS:LET[10],8,"A":LET[20],16,"B"
20 LC [10],5:?STR$([11]):LC [20],5:?STR$([21])
30 R=RND(32):LC R,23:?"*"
40 WAIT3
50 K=INKEY()
60 [10]=[10]-(K=90)+(K=67)
70 [20]=[20]-(K=28)+(K=29)
80 IF SCR([10],5)!=0 LC 0,0:?"WIN ";STR$([21]):END
90 IF SCR([20],5)!=0 LC 0,0:?"WIN ";STR$([11]):END
100 GOTO20
|
' Program "DEMOPDE1" August 13, 1993
'
' Copyright (c) 1991, 1993 Crescent Software
'
' This program demonstrates the procedure for calling
' subroutine POISSON which solves the elliptic partial
' differential equation of the form
'
' d2u(x,y)/dx2 + d2u(x,y)/dy2 = f(x,y)
'
' subject to the boundary... |
'
' Teste par Bcostat si l'imprimante est prąte
' OMIKRON-BASIC ONLINE.BAS
'
BIOS (Status%L,8,0)
IF Status%L=-1
THEN PRINT "L'imprimante est prąte!"
ELSE PRINT "L'imprimante n'est pas prąte!"
ENDIF
END
|
SCREEN 0
SCREEN 12
_TITLE "Pi Master"
DO
CLS
PRINT "What would you like to do?"
PRINT " 1-View a scroll of x digits of pi"
PRINT " 2-Find a digit in pi"
PRINT " 3-Search for a series of digits for a string"
PRINT " 4-Write x digits of pi to a file"
DO
k$ = INKEY$
... |
10 FOR I=1 TO 256
20 PRINT "!"
30 NEXT I
40 END
|
10 print "input first number"
20 input x
30 print "input second number"
40 input y
50 print "X + Y is "; x+y
|
DEFINT A,C-D
DEFSTR B
PRINT "|";B;"|"
PRINT "|";A;"|"
A = 2.4
PRINT A
REM output
||
| 0 |
2 |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
DefaultView =2
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =7920
DatasheetFontHeight =10
ItemSuffix =24
Right =13515
Bottom =7605
DatasheetGridlinesCol... |
4900 print "dumping directory:"
4901 gosub 5000
4902 end
5000 rem taken from a 1541 manual
5001 rem reads a directory and prints a crappy listing
5002 rem to be used in directory testing
5010 open 1,9,0, "$0"
5020 get #1, a$, b$: rem skip load address
5030 get #1, a$, b$: rem skip pointer to next basic line
5040 get... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
Modal = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
DefaultView =0
ScrollBars =0
TabularFamily =127
Pic... |
1 'COLOR 2,1,1
2 'SCREEN 2,2,0
3 'BLOAD "logic_r.sc2",S
4 'BLOAD "sprites.bin",S
10 STRIG(0) ON: STRIG(1) ON
50 SOUND 8,&b00000
60 SOUND 1,0:SOUND 0,0
70 SOUND 11,0
80 SOUND 8,&b11100
90 SOUND 7,&b10111110
100 'Start New Game Screen
100 BLOAD "start.scr",S
101 ON STRIG GOSUB 200, 210
110 I=20:J=1:K=4:TR=0:TIME=0
140 ... |
SCREEN 13
DIM SHARED ballx, bally, ballr, dy, gravity, gscale, gameover AS DOUBLE
DIM SHARED thrust, tscale, dthrust, ithrust
DIM SHARED wingup AS INTEGER
DIM SHARED foodx, foody AS DOUBLE
DIM SHARED eatcount%
_TITLE "Gravity Bird"
CALL InitWorld
GameLoop:
IF gameover = 1 THEN
PRINT "GAME OVER!!"
... |
NAME neos-3426085-ticino FREEIEEE
UL C0008 _dummy_ M+3000000000
UL C0016 _dummy_ M+3000000000
UL C0020 _dummy_ M+3000000000
UL C0028 _dummy_ M+3000000000
UL C0038 _dummy_ M+3000000000
XL C0040 R0001 L+3RNbK*dLpa
XL C0042 R0002 ... |
DIM x AS INTEGER
CLS
FOR x = 1 TO 10
PRINT INT(RND * 10) + 1;
NEXT x
|
5 '"Ползущий" эллипс
10 COLOR 1,15,8:SCREEN2
20 PSET(0,95):FOR K=1 TO 25:CIRCLE STEP(10,0),50,4,,,.5:CIRCLE STEP(0,0),50,15,,,.5:NEXT:GOTO20
|
Attribute VB_Name = "ApiSupport"
Option Explicit
Private Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
Private Declare Sub GetSystemTime Lib... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
Modal = NotDefault
RecordSelectors = NotDefault
MaxButton = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
DefaultView =0
ScrollBar... |
NEW
100 REM TP-10 ASCII TEST
110 FOR C=32 TO 255
112 IF C=127 THEN LPRINT CHR$(31);:NEXT
114 LPRINT CHR$(C);
116 NEXT
118 LPRINT
120 IF X=0 THEN X=1:LPRINT CHR$(27)CHR$(14);:GOTO 110
123 LPRINT CHR$(27)CHR$(15)
RUN
|
10 PRINT "Hello World"
20 END |
atom=H
contraction shell=S num_primitives=7 num_coefficients=1
188.614442 0.000718
28.276596 0.005554
6.424830 0.028426
1.815041 0.109523
0.591063 0.300447
0.212149 0.474668
0.079291 0.225027
contraction shell=S num_primitives=1 num_coefficients=1
1.4853 1.000000
contraction shell=S num_primitives=1 num_coefficients=1
... |
1700 RM = RND(999) + 49152
1710 POKE RM,97
1720 GOTO 1700
|
1 LET DELAY=50
5 PRINT "Push buttons 0 - 7 to change speed"
10 FOR F=1 TO 6
20 OUT 0,2^F
30 GOSUB 100
40 NEXT F
50 FOR F=7 TO 0 STEP -1
60 OUT 0,2^F
70 GOSUB 100
80 NEXT F
90 GOTO 10
100 FOR Z=1 TO DELAY
110 IF INP(0)<>0 T... |
10 ' *************************
20 ' MUSICA.BAS
30 ' *************************
40 ' CRIAR MUSICA DE EMBARALHAMENTO PARA O CRIPTOLOGIC DO ODYSSEY
50 ' *************************
60 CLS:KEY OFF
70 ON INTERVAL=200 GOSUB 200
80 INTERVAL ON
90 LOCATE 10,10:PRINT "MUSICA TOCANDO."
100 LOCATE 7,12:PRINT "PARA SAIR DIGITE ESC."... |
0 REM sample: ambient sensor handler
0 REM this sample shows how to do basic
0 REM sensor handling.
0 REM
0 REM ambient sensor is attached to one of
0 REM the analog inputs, so we need to use
0 REM information provided by the sdk regarding
0 REM sensor reading. That information is on $13.
0 REM SDK will expect us to s... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DateGrouping =1
GridY =10
Width =14631
ItemSuffix =84
Left =1410
Top =195
OnNoData ="[Event Procedure]"
Filter ="([R_Code] = 1 AND ([Status]=0 OR [Status]=1 OR [Status]=2 OR [Status]=3))"
Shortc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.