text stringlengths 7 5.36M |
|---|
DEFINT A-Z
DECLARE SUB explode (w$, x, y, z)
DECLARE SUB setcolors ()
DIM SHARED xx(10000), yy(10000)
DIM SHARED xi(10000), yi(10000)
SCREEN 12
RANDOMIZE TIMER
SLEEP 1
setcolors
explode "DaViD CaLhOuN", 260, 150, 1
explode "PrEsEnTeS", 262, 150, 1
explode "SoMeThInG", 262, 150, 1
COLOR 8
SUB explode (w$, x, y, z)
COL... |
10 REM 'E' SINGLE PRECISION EXPONENT TEST PROGRAM
20 A=1234567890
30 PRINT "EXPONENTIAL NOTATION 'E' PASSED THE TEST IF"
40 PRINT A;"CONTAINS THE LETTER 'E'"
99 END
|
' MAX DEMO
'
' A DEMO TO SHOW THE MAXIMUM COLOUR MAXIMITE 2 POWER WITH MMBASIC ONLY!
T=MM.INFO(VERSION)
IF T < 5.06 THEN
CLS
PRINT "THIS SOFTWARE REQUIRES FIRMWARE VERSION 5.06 OR ABOVE"
PRINT
PRINT "PLEASE, UPGRADE YOUR CMM2 AND TRY AGAIN"
PRINT
PRINT "YOUR CURRENT FIRMWARE IS " + STR$(T)
END
ENDIF
OPTION BAS... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
ScrollBars =0
ViewsAllowed =1
TabularFamily =127
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Datashe... |
Attribute VB_Name = "Calculations"
Option Explicit
Sub ConvertAbsolute()
Dim AppUpdt As Boolean
AppUpdt = Application.ScreenUpdating
Application.ScreenUpdating = False
Call ConvertUncertantiesTo("Absolute", BlkCalc_Sh)
Call ConvertUncertantiesTo("Absolute", SlpSt... |
Check D2834CA2
Auto 8224
# Run-time Variables
Var y: Num = 16
Var x: Num = 14
Var adr: Num = 51115
Var a: NumArray(42) = 0, 192, 112, 192, 224, 192, 80, 193, 192, 193, 48, 194, 160, 194, 16, 195, 128, 195, 240, 195, 96, 196, 208, 196, 64, 197, 176, 197, 32, 198, 144, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Var f: NumFOR = ... |
10 rem *** BEYOND BAGELS ***
20 rem *** G CONTROLS THE MAXIMUM NUMBER OF GUESSES
30 g=20
40 print "WELCOME TO *** BEYOND BAGELS ***"
50 print
60 print "RULES (1=YES 0=NO)";
70 input x
80 print
90 if x<>1 then goto 310
100 print " I'LL THINK OF A THREE DIGIT NUMBER (LIKE 532)"
110 print "AND YOU HAVE";g;" TRIES TO G... |
10 REM TEST THE MINA() FUNCTION
20 ARR READ A(6)
30 LET B=MINA(A)
40 PRINT "MINIMUM IS "; B
90 DATA 10.2,5.5,1.8,22,17,-19,7
99 END
|
'
' Օրինակ 3
'
SUB Main
LET a = 4
LET b = -2
IF a > 0 AND v < 0 THEN
PRINT "Ok"
END IF
IF a = 7 OR b <= -2 THEN
PRINT "seven"
ELSE
PRINT "not seven"
END IF
IF NOT (a >= 12) THEN
PRINT "A"
ELSEIF a <= 13 THEN
PRINT "B"
ELSE
PRINT... |
READ n$, m1, m2, m3
WHILE n$ <> "end"
m4 = (m1 + m2 + m3) / 3
t1 = t1 + m1
t2 = t2 + m2
t3 = t3 + m3
IF m4 < 50 THEN
s$ = "fail"
ELSEIF m4 < 70 THEN
s$ = "pass"
ELSEIF m4 < 80 THEN
s$ = "credit"
ELSEIF m4 < 90 THEN
s$ = "star"
ELSE
s$ = "excel... |
DECLARE SUB no1 ()
DECLARE SUB no2 ()
DECLARE SUB no3 ()
DECLARE SUB no4 ()
DO
CLS
SCREEN 12
WINDOW (0, 0)-(1000, 1000)
no1
SLEEP 1
no2
no3
SLEEP 1
no4
SLEEP 2
LOOP UNTIL INKEY$ <> ""
SUB no1
FOR r% = 0 TO 750 STEP 50
COLOR 15
LINE (0, r%)-(1000, r%)
NEXT r%
END SUB
SUB no2
m = 0
DO
COLOR 0... |
2 PRINT TAB(34);"LIFE"
4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
6 PRINT: PRINT: PRINT
8 PRINT "ENTER YOUR PATTERN:"
9 X1=1: Y1=1: X2=24: Y2=70
10 DIM A(24,70),B$(24)
20 C=1
30 INPUT B$(C)
40 IF B$(C)="DONE" THEN B$(C)="": GOTO 80
50 IF LEFT$(B$(C),1)="." THEN B$(C)=" "+RIGHT$(B$(C),LEN(B$(C... |
Attribute VB_Name = "Module18"
Option Explicit
Public Function RequiredAst( _
ByVal fc As Double, _
ByVal fy As Double, _
ByVal bardia As Double, _
ByVal cvr As Double, _
ByVal h As Double, _
ByVal barmark As Integer, _
ByVal md As Double, _
ByVal m As Double) As Double
Dim b, bf, bw, hf As Double
Dim k... |
1 %TITLE "Product Cost Layer Maintenance"
%SBTTL "IC_MAST_LAYER"
%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
... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
G... |
mod=201
input=&70
delta=&71
FOR pass=0 TO 3 STEP 3
P% = &900
[opt pass
lda delta
bpl positive
clc
adc #mod
.positive
clc
adc input
bcs overflow
.no_overflow
cmp #mod
bcc exit
.overflow
sbc #mod ; carry guaranteed set
.exit:
sta input
rts
]:NEXT
FOR X%=0 TO 200
PRINT X%
FOR Y%=-128... |
REM I haven't checked but I hope it's right??
10 INPUT "input a value"; N
20 COUNT = 1
30 IF N = 1 THEN GOTO 80
40 DIV = N / 2
50 IF INT(DIV) - DIV = 0 THEN N = INT(DIV) ELSE N = (3*N) + 1
60 PRINT N
65 COUNT = COUNT + 1
70 GOTO 30
80 PRINT "The chain has length " + COUNT
|
10 rem ********************************
20 rem *using fine resolution lines *
25 rem * this program *
30 rem *plots the graph of a function.*
40 rem *program uses the following *
45 rem *machine code routines: *
50 rem * sys(29024) - draw border *
60 rem * sys(29760) - vertical *
... |
SCREEN _NEWIMAGE(400, 400, 32)
angle = 0
r = 100
DO
angle = angle + _PI(.1)
IF angle > _PI(2) THEN angle = angle - _PI(2)
LINE (0, 0)-(_WIDTH, _HEIGHT), _RGBA32(0, 0, 0, 40), BF
_PRINTSTRING (_WIDTH / 2 - _PRINTWIDTH("Loading...") / 2, _HEIGHT / 2 - _FONTHEIGHT / 2), "Loading..."
CircleFill _WIDTH... |
10 PLAY "mnmft54o3"
20 PLAY "o2g8g8o3c8o2b16o3c1d2d8f8c16d16f16e16d2"
30 PLAY "d8g8p8g16a16f8e16d16c4"
40 PLAY "o2a16a16p16g16f16g16a8g2o3"
50 PLAY "o2g8g8o3c8o2b16o3c16d2d8f8c16d16f16e16d2"
60 PLAY "d8g8p8g16a16f8e16d16c4"
70 PLAY " o3d16d16d16d16f16f16g8a8g4.d16f16g2"
80 PLAY "a4g8.a16f8e16d16c4"
90 PLAY "d8g... |
#Define DEBUGGING '' only comment this line for remove "debug" from executable!!! (check filesize)
#Include Once "windows.bi"
#Include Once "showvars.bi"
Declare Function WinMain ( ByVal hInstance As HINSTANCE, ByVal hPrevInstance As HINSTANCE, ByRef szCmdLine As String, ByVal iCmdShow As Integer ) As Integer
Declar... |
DECLARE LIBRARY
FUNCTION glutGet& (BYVAL what&)
END DECLARE
_SCREENMOVE 200, 200 'We moved our screen to 200,200 so we know these values are correct
BorderWidth = glutGet(506)
TitleBarHeight = glutGet(507)
ActualScreenX = glutGet(100)
ActualScreenY = glutGet(101)
PRINT "Actual Top Left of screen is at ("; _SCREEN... |
OPEN "Record.Dat" FOR OUTPUT AS #1
CLS
DO
INPUT "Enter a Name:"; N$
INPUT "Enter a Address: "; A$
INPUT "Enter a telephone: "; T$
WRITE #1, N$, A$, T$
INPUT "Do you want to enter another record Y/N ?"; choice
IF choice = "Y" THEN another = -1
WHILE another
|
100 cls 3
110 '数秘術占い 2019.08.16
120 '改変履歴
130 '"2021.03.31 α版 画面背景アップデート"
140 '"2021.04.02 β版 更にアップデート音声追加"
150 '"2021.04.03 β2版 画面表示拡張"
160 '"2023.05.20 β3版 入力方式拡張"
170 'Version 更新履歴
180 '2023.06.04:Ver100_20230604
190 '2023.06.11:Ver101_20230611
200 '2023.06.18:Ver102_20230618
210 '2023.06.25:Ver103_202306... |
Operation =1
Option =0
Where ="(((dbo_viewTotalEstimateAmounts.QuoteDate)>=#1/1/2013# And (dbo_viewTotalEstimat"
"eAmounts.QuoteDate)<=#12/31/2013#))"
Having ="(((dbo_viewTotalEstimateAmounts.SalesRepID) Is Not Null))"
Begin InputTables
Name ="dbo_viewTotalEstimateAmounts"
Name ="dbo_CompanyEmployee"
End
B... |
10 SYS 1: REM Turn on extensions
20 FOR F=30 TO 37
30 FOR B=40 TO 47
40 FOR A=0 TO 8
50 ANSISGM A,F,B:PRINT "TEST STRING";:ANSISGM 0,37,40:PRINT "Attr:";A;"FG:";F;"BG:";B
60 NEXT A:NEXT B:NEXT F
70 ANSISGM 0,37,40:PRINT
|
!--------------------------------------------------
!- Thursday, September 16, 2021 3:00:15 PM
!- Import of :
!- c:\dev\zelch128\ee2\ggg.warr&mons.prg
!- Unknown Machine
!--------------------------------------------------
30000 SYS15625:REM ========== WARR MON MODULE LOADER ============= 06/09/91 =
30010 U=8:D... |
LET t = TIME
FOR deno = 1 TO 12000
FOR nomi = CEIL(deno/3) TO INT(deno/2)
IF nomi > deno/3 AND nomi < deno/2 THEN
IF gcd(nomi,deno) = 1 THEN LET frac = frac + 1
end if
NEXT nomi
NEXT deno
PRINT frac
PRINT "(";TIME-t;"s )"
FUNCTION gcd(a,b)
IF b = 0 THEN LET gcd = a ELSE LET gcd ... |
10 REM Viva Peron! in BASIC
20 PRINT "Viva Peron!"
|
2 FOR Y = 1 TO 10
5 LET C = 0
6 REM PAGE 332 THE COMPUTER SCIENCE PROBLEM SOLVER
10 FOR X = 1 TO 50
20 LET F = INT(2 * RND(3) + 1)
30 IF F = 1 THEN 60
40 PRINT "T"
50 GOTO 100
58 REM C COUNTS THE NUMBER OF HEADS
60 LET C = C + 1
70 PRINT "H";
100 NEXT X
110 PRINT
120 PRINT C; "HEADS OUT OF 50 FLIPS"
125 NEXT Y
130 END... |
1 'Example of ON BIT, START BIT and STOP BIT statements
5 CONFIG PIO &100,0,1,0,0,0:'Configure an 8255 at &100 to be an input port
10 ON BIT 1,&100,5 GOSUB 100
20 START BIT 1
30 ..idle
40 GOTO ..idle
60 ..
100 STOP BIT 1
110 PRINT "Bit 5 of I/O address &100 has toggled."
120 START BIT 1
130 RETURN BIT
|
OPEN "F:\kevinprg\kevindat\movpsico.dat" FOR RANDOM AS #4 LEN = 40
FIELD #4, 40 AS todo$: maxmov% = LOF(4) / 40: CLS
FOR l = 1 TO maxmov%
GET #4, l
IF MID$(todo$, 1, 6) = "VENTA " THEN
END IF
IF MID$(todo$, 1, 6) = "CREDIT" THEN
END IF
IF MID$(tod... |
'共通呼出プロシージャ
' Copyright (c) 1993-1997 by JO1SPG/T.KIZAWA
Option Explicit
Sub AttrChange ()
Dim ListNum&
Dim i As Integer
ListNum = Val(Left$(frmMain!lstMenu.Text, 5))
i = DataGetNum(ListNum&)
End Sub
Sub AutoConfig ()
frmAutoConfig.Show 1
End Sub
'
' オートパイロット起動
'
Sub AutoPilot... |
5 CLS
10 REM ///TITELBILB///
20 SCREEN 12
30 REM GRUNDMUSTER
40 LINE (170, 190)-(470, 190), 4
50 LINE (170, 290)-(470, 290), 4
60 LINE (270, 90)-(270, 390), 4
70 LINE (370, 90)-(370, 390), 4
80 LINE (180, 180)-(260, 100), 3
90 LINE (180, 100)-(260, 180), 3
100 CIRCLE (320, 140), 45, 3
... |
100 ' OPEN sample
110 OPEN "DATA9.DAT" FOR INPUT AS #1
120 OPEN "NEWDATA9.DAT" FOR OUTPUT AS #2
130 IF EOF(1) THEN 170
140 INPUT #1,A$
150 PRINT #2,A$
160 GOTO 130
170 CLOSE
180 END
|
10 INPUT " A line of text"; t$
20 n = LEN(t$)
30 x$ = ""
40 FOR i = 1 TO n
50 c$ = MID$(t$, i, 1)
60 IF c$ = " " THEN x$ = x$ + " ": GOTO 90
65 a = ASC(c$)
70 IF a >= 65 AND a <= 90 THEN a = a + 32
80 x$ = x$ + CHR$(a)
90 NEXT i
100 PRINT x$
110 END
|
' Balloons | IchigoJam BASIC 1.3.2b12+ (LPC1114)
' Copyright (c) 2019 Keiichi Shiga (BALLOON | FU-SEN)
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019
10 'Balloons C-Language
20 POKE #800,248,181,204,35,27,136,152,71,192,39,206,38,59,136,31,32
30 POKE #810,152,71,196,36,23,33,51,136,5,0,152,71,35,136,232... |
SUB FOUR1 (DATQ(), NN, ISIGN)
N = 2 * NN
J = 1
FOR I = 1 TO N STEP 2
IF J > I THEN
TEMPR = DATQ(J)
TEMPI = DATQ(J + 1)
DATQ(J) = DATQ(I)
DATQ(J + 1) = DATQ(I + 1)
DATQ(I) = TEMPR
DATQ(I + 1) = TEMPI
END IF
M = INT(N / 2)
WHILE M >= 2 AND J > M
J = J - M
M = INT(M... |
'********** DEMOEMS.BAS - demos the EMS stuff
'Copyright (c) 1988-1991 Crescent Software
'WARNING: If you are using BASIC 7 PDS you must start QBX with the /es switch.
DEFINT A-Z
DECLARE FUNCTION EmsError% ()
DECLARE FUNCTION EmsLoaded% ()
DECLARE FUNCTION EmsVersion% ()
DECLARE FUNCTION EmsPageCount% ()
DECLARE ... |
DEFDBL A-Z
CLS
INPUT "Bitte Zahl eingeben: ", zahl
INPUT "Sch„tzer eingeben: ", schaetzer
FOR x = 1 TO 20
alterschaetzer = schaetzer
schaetzer = (schaetzer + (zahl / schaetzer)) / 2
PRINT "Neuer sch„tzer: "; schaetzer
IF alterschaetzer = schaetzer THEN EXIT FOR
NEXT x
PRINT "Wurzel:"; SQR(zahl)
|
Attribute VB_Name = "ProcTemplate"
Option Explicit
Option Base 1
''''''''''''''''''''''''''''''''''''''''''''''''''''
' Procedure : MainTemplate
' Description : Procedure Template
' Author : Jingun Jung
' Licence : Apache License 2.0
' Source : https://github.com/koreabign... |
0 GOSUB10030:REM TEMPEST
1 POKE 55,255:POKE56,47:V=53248:POKEV+33,0:POKEV+32,0:POKE54296,15
5 DIMP(4),T(4):FORI=0TO4:T(I)=0:NEXT:CO=54272:KB=197:LS=1024:CA=0
7 PC=11:L=12:R=20:HI=0:FORI=12544TO12552:POKEI,0:NEXT
10 FORI=12288TO12415:READA:POKEI,A:NEXT:POKEV+24,28
20 SC=0:LI=3:P=2004:NE=20:N=-1:S=-1:SZ=0:RE=0:BO=0
25 PR... |
1 %TITLE "This Routine Checks to See If QUEUE Is OK"
%SBTTL "OUTP_TESTQUE"
%IDENT "V3.6a Calico"
FUNCTION INTEGER OUTP_TESTQUE(THEQUE$)
!
! COPYRIGHT (C) 1986 BY
! Computer Management Center
! Idaho Falls, Idaho.
!
! This software is furnished under a license and may be used and
! copied only in accordance ... |
Version =21
VersionRequired =20
Begin Form
AutoCenter = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =8280
DatasheetFontHeight =9
ItemSuffix =31
Left =480
Top =22... |
SCREEN 12
_TITLE "Picture Maker"
DO
CLS
PRINT "Draw Freestyle with F"
PRINT " Use Up, Down, Left, and Right to make whatever"
PRINT "Make a Line with L"
PRINT " Use Up and Down OR Left and Right to make a line"
PRINT " Whatever direction you start going first will be the axis the line i... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
ScrollBars =0
ViewsAllowed =1
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24... |
' $DYNAMIC
''''''''''''''''''' HEADER ''''''''''''
' how many of each type will we store
CONST BUCKETSIZE = 127 'how many items per bucket , prime number
CONST TABLESIZE = 1031 'how many buckets in the total hash list
'total hashable size would be BUCKETSIZE * TABLESIZE
CONST IntegerLength = 2
CONST StringLength = 8
... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =9563
DatasheetFontHeight =11
ItemSuffix =121
Left =3165
Top =3855
Right =... |
100 rem *******************************
110 rem benchmarks fuer compiler
120 rem *******************************
130 rem
140 rem ************* 1 ** for next ***
150 print"{clear}{down}ausfuehrung: 1{left}";:a1=ti
160 fori=1to1000
170 nexti
180 e1=ti
190 rem ************* 2 ** if then ****
200 print"2{left}";:a2=ti
... |
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS
5... |
5 CLS
10 PRINT " STaRWReCK"
20 PRINT " oNe oF THoSe DaNg gEnErAtIoNs!!!!"
30 PRINT " Press ENTER to go on and continue. BETA VERSION"
40 INPUT a
50 IF a = 1 THEN CLS
60 PRINT "In our previous adventure we were battling the maqee, unfortunately"
70 PRINT... |
10 CLS
20 PRINT " **** OICOMMS Version 1.6A ****"
30 FALSE=0: TRUE= NOT FALSE
35 DIM RAM%(2047)
40 PRINT:PRINT:PRINT
50 PRINT "Communication program for OI Instruments ITC4,PS126 etc."
60 PRINT:PRINT
70 PRINT "Special Commands are:"
80 PRINT
85 PRINT " COMMx - Select COMM port 'x' (Defau... |
\******************************************************************************\******************************************************************************
\******************************************************************************
\***
\*** RF COUNT LISTS FILE FUNCTIONS
\***
\*** REF... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AutoCenter = NotDefault
DividingLines = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
PictureType =1
GridX =24
GridY =24
Width =15120
DatasheetFontH... |
10 SCREEN 12
15 fa = 1: a = 1: b = -1: c = -1: d = 1: xx = 639: yy = 479
20 IF fa = 14 THEN fa = 1
LINE (x, y)-(xx, yy), fa
x = x + a: xx = xx + c
IF x = 639 OR x = 0 THEN b = -b: d = -d: GOTO 30
GOTO 20
30 LINE (x, y)-(xx, yy), fa
y = y + b
yy = yy + d
IF y = 479 OR y <= 0 THEN a = -a: c = -c: fa = fa + 1: ... |
Operation =1
Option =0
Where ="(((dbo_ContactGeneral.IsVendor)=True))"
Begin InputTables
Name ="dbo_ContactGeneral"
End
Begin OutputColumns
Expression ="dbo_ContactGeneral.ID"
Expression ="dbo_ContactGeneral.CompName"
Expression ="dbo_ContactGeneral.OperatingAs"
Expression ="dbo_ContactGeneral.IsCl... |
3 print tab(25);"wumpus 2"
4 print tab(20);"creative computing"
5 print tab(18);"morristown new jersey"
7 print
10 print
15 print
20 rem- wumpus version 2
30 dim s(20,3)
40 dim l(6),m(6),p(5)
50 print "instructions";
60 input i$
70 print
80 if left$(i$,1) <> "y" then 130
100 gosub 700
110 rem- choose and set up cave
1... |
10 INPUT "Layers:",N:S=N
20 FOR X=0 TO N:A=1:PRINT SPC(S*2);:S=S-1
30 FOR Y=0 TO X:PRINT A;" ";:A=A*(X-Y)/(Y+1):NEXT Y
40 PRINT "":NEXT X
50 END
|
10 '********************************
20 '* *
30 '* TYPEING TEST 1 *
40 '* *
50 '* J.W.L *
60 '* *
70 '********************************
80 DEF SEG=0 : POKE 1047,(PEEK(1047) OR 64)
90 CLS : ... |
'$INCLUDE: 'FMENGINE.BI'
timercallback: FMtimer: RETURN
' Written 2000-12-31 by Bisqwit (http://iki.fi/bisqwit/)
' Copyright (C) 1992,2004
' Home page: http://bisqwit.iki.fi/source/fmengineqb.html
DEFINT A-Z
CONST FALSE = 0
CONST TRUE = NOT FALSE
CONST MPUBASE = &H330
CONST oplbase = &H388
CONST efffile = "SFX\EFFE... |
10 DIM NOME$(100)
20 DIM ENDERECO$(100)
30 DIM TELEFONE$(100)
40 DO: CLS
50 PRINT : PRINT TAB(26); "AGENDA DAVI-1.0"
60 PRINT TAB(22); "CADERNETA DE ENDERE€OS"
70 PRINT
80 : PRINT : PRINT " COMANDOS:"
90 PRINT "|==============================================|"
100 PRINT "| 1. [INCLUIR UM NOME] ... |
Attribute VB_Name = "MdlInputOutput"
'<CSCC>
'--------------------------------------------------------------------------------
' Component : MdlInputOutput
' Project : CafeBonzerAG
'
' Description: [type_description_here]
'
' Modified :
'----------------------------------------------------------------... |
CLS
INPUT "Enter the number here"; no
IF no MOD 2 = 0 THEN
no = no + 1
FOR i = 1 TO 10
PRINT no
no = no + 2
NEXT i
ELSE
FOR i = 1 TO 10
no = no + 2
PRINT no
next i
END IF
|
'********** DATEIN.BAS - date input routine
'Copyright (c) 1987 Ethan Winer
DEFINT A-Z
DECLARE SUB CapNum ()
DECLARE SUB QPrint (X$, Colr, Page)
'----- entry parameters
'
'Dt$ = date to be input or edited (use the name of your choice)
'Colr is the combined foreground and background colors that will be used
'
'----... |
Simply syntax error in this file.
$!%/+=+=+= nothing BASIC
|
IF (usercommand$(runcommands) = "google" OR usercommand$(runcommands) = "search") AND usercommands <> 1 AND usercommands <> -1 THEN
doublecheck$ = MID$(useroutput$, (INSTR(useroutput$, (usercommand$(runcommands))) + 7), 6)
IF doublecheck$ = "google" OR doublecheck$ = "search" THEN
qloc = INSTR(useroutpu... |
10 REM Net69 to Cit86 Mail Translator
20 REM
30 NUL$ = CHR$(0): FF$ = CHR$(255)
50 OPEN "MESG.TMP" FOR INPUT AS #1
60 OPEN "BCH86SH.000" FOR APPEND AS #2
99 DOH$ = "": A$ = "": DT$ = "": O$ = "": S$ = "": M$ = "":P$=""
100 X$ = "": D$ = "": C$ = "": Z$ = "": T$ = "":DD$="":HH$="":YY$=""
200 IF EOF(1) GOTO 3000
... |
Attribute VB_Name = "mdlShanXiCA"
Option Explicit
'Private mobjCertMgr As HebcaP11XLibCtl.CertMgr
Private mobjCertMgr As Object 'HebcaP11XLib.certMgr 证书对象
Private Const M_STR_LICENCE As String = "amViY55oZWKcZmhlnWxhaGViY2GXGmJjYWhlYnGH1QQ5GcNqnW6z3vohVnE+nTJr"
Private Const M_STR_SPLIT As String = "<SPLIT>... |
10 N=5
20 DIM A(N)
31 A(1)=9
32 A(2)=25
33 A(3)=1
34 A(4)=4
35 A(5)=16
100 FOR I=1 TO N-1
110 FOR J=1 TO N-I
120 IF A(J)<=A(J+1) THEN GOTO 160
130 T=A(J)
140 A(J)=A(J+1)
150 A(J+1)=T
160 NEXT J
170 NEXT I
200 FOR I=1 TO N
210 PRINT A(I)
220 NEXT I
|
1 REM TEMPERATURE CONVERSION PROGRAM
5 PRINT "\X93"
10 PRINT "CONVERT FROM FAHRENHEIT OR CELSIUS? (F/C). EXIT WITH 'E'": INPUT S$
15 IF S$ = "E" THEN PRINT "GOOD-BYE!" : END
20 IF S$ = "F" THEN 90
30 IF S$<> "C" THEN 10
40 INPUT "ENTER DEGREES IN CELSIUS: ";C
50 F = (C*9)/5+32
60 PRINT C;" DEG. CELSIUS EQUALS TO ";F;" ... |
SCREEN 13
KEY OFF
PRINT "Click around..."
DO
IF _MOUSEBUTTON(1) = -1 THEN
r = RND * 50
c% = RND * 255
CIRCLE (_MOUSEX, _MOUSEY), r, c%
END IF
_LIMIT 60
_DISPLAY
LOOP
KEY ON
|
#COMPILE EXE
#DIM ALL
GLOBAL sFileName AS STRING
GLOBAL eepAdr AS LONG
GLOBAL exePath AS STRING
GLOBAL loader AS STRING*4096
GLOBAL loaderlen AS LONG
GLOBAL eepData AS STRING*32768
GLOBAL eepDataLen AS LONG
GLOBAL jmpAdr AS WORD
G... |
100 REM WORDKING
110 GOSUB 1100
120 LET N=26
130 GOSUB 1300
140 GOSUB 2500:LET S=0
150 GOSUB 1200:LET X=0:LET Y=6:GOSUB 1700
160 PRINT"what gift have you ":PRINT
170 PRINT" brought for the{space*3}":PRINT
180 PRINT"king of wordomania?":PRINT
190 GOSUB 2200
200 FOR P=1 TO LEN(K$)
210 GOSUB 2600
220 IF P$=R$ THEN LET P=9... |
import "object.bas"
class Floaty(Object)
var x_speed = 0;
var y_speed = 0;
var sprite = nil;
def set_pos(x_in, y_in)
me.x_speed = me.x - x_in
me.y_speed = me.y - y_in
me.x = x_in
me.y = y_in
enddef
def move()
me.y = me.y - me.y_speed / 1.8
me.x = me.x - me.x_speed / 1.1
me.y_speed = me.y_spe... |
'********** PullDown.Bas - Pull Down menu subprogram with mouse support for
' graphics mode
'Copyright (c) 1988,1990 Don Malin & Brian C. Giedt
'Copyright (c) 1988 Crescent Software
DEFINT A-Z
'$INCLUDE: 'GWDecl.BAS'
DECLARE SUB GPaintBox (Col1%, Line1%, Col2%, Line2%, OldColor%, NewColor%)... |
10 print"{clear}":v=53248:for s=832 to 895:poke s,255:next
20 for m=2040 to 2042:poke m,13:next
30 poke v+21,7
40 poke v+39,1:poke v+40,7:poke v+41,8
50 poke v,24:poke v+1,50:poke v+16,0
60 poke v+2,34:poke v+3,60
70 poke v+4,44:poke v+5,70
|
Attribute VB_Name = "Bas3D"
Global Const Pi As Double = 3.14159265358979
Global Const AStep As Double = ((Pi * 2 / 360))
Public Type Matrix44
M11 As Double: M12 As Double: M13 As Double: M14 As Double
M21 As Double: M22 As Double: M23 As Double: M24 As Double
M31 As Double: M32 As Double: M33 As Double: M34 ... |
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS
1... |
10 INPUT "Enter a number:"; number
20 LET n = number
30 LET ans = 1
40 LET ans = ans * n
50 LET n = n - 1
60 IF n = 0 THEN GOTO 200
70 GOTO 40
200 PRINT number + " factorial is " + ans
210 END
|
'****************************************
'***** 메탈파이터 기초 프로그램 *******
'****************************************
'******* 변수선언 ***********************
DIM A AS BYTE
'***************************************
TEMPO 220
MUSIC "O23EAB7EA>3#C"
'***** 메인 반복루틴 ********************
MAIN:
ERX 4800,A,MAIN
IF A = 1 THE... |
10 X$="Рокер":Y$="кокон"
20 ?USING"\\\ \";X$;Y$
|
10 let a$="abba is most"
12 print a$
15 let b$="is"
20 print left$(a$,7)
30 print right$(a$,7)
40 print instr(a$,b$)
50 print len(a$)
60 print len("abba")
70 print mid$(a$,3,7)
80 print mid$("Hryundel hi You Okkupai",8)
90 print right$(a$,6)
100 print"END" |
REM OSI GRAND
0 REM OSI GRAND
1 REM Converted on 1/15/83
4 GOSUB1000:GOTO20
5 U4=PEEK(129):U5=PEEK(130):POKE129,0:POKE130,212:U$=" ":FORU=1TO7
6 U$=U$+U$+" ":NEXT:POKE129,U4:POKE130,U5:RETURN
20 GOSUB4500
25 FORQ=1TONB:W(Q)=-1:NEXT:W(0)=0
110 FORB=0TONB:IFNOT(W(B))THENGOSUB900:GOSUB800
120 NEXT:IFPFTHENGO... |
Attribute VB_Name = "aid"
Option Explicit
Global last_aid_point As Integer
Global add_point_name(7) As String * 1
Global last_aid_point_name As Integer
'*****************************
Type aid_line_data
display_aid_line As display_line_data
end_point(1) As POINTAPI '标准直线的端点
start_point As Integer '辅助线的起点
related... |
10 REM@ {pound}FASTFOR:{pound}SHORTIF:{pound}DATATYPE BYTE
12 REM@ {pound}WORD #,I=FAST,X=FAST
13 REM@ {pound}CONSTANT VIC,BACK,PAPER,SPRON, PRIOR,SCOL,XHI,IRQ,OFF,VOL,MEM
15 REM@ {pound}BYTE A,X1,X2,Y1,Y2,XA,XE,YA,YE,CO,CC,SX,SY,V1,H1,V2,H2,Y(,YS(,CO(
16 REM@ {pound}BYTE P2(,SN
17 DIM SC(24),CO(23),X(7),Y(7),X... |
10 ' * flying carpet *
20 CLS : KEY OFF: SCREEN 1
30 acc = 8: wd = 8: th = 45
40 th = 3.1415926# * th / 180
50 FOR y = -50 TO 50 STEP wd
60 x = -100: GOSUB 200: GOSUB 210: PSET (x1, y1), 1
70 FOR x = -100 TO 100 STEP acc
80 GOSUB 200: GOSUB 210
90 LINE -(x1, y1), 1
100 NEXT x
110 NEXT y
120 FOR x = -100 TO 100 STEP wd
... |
' FruitySnake --- a buggy and lame snake game written in QBasic
' Copyright (C) 1999, 2004 Daniel Brockman
' Version: 0.5
' This program is free software; you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation; either version... |
10 CALL OpenFile("B_Group_Knesset_1988.txt")
20 CALL ShowNames(1)
30 CALL ShowHeart(1)
35 CALL ShowWinSet(1)
40 LET A = GetHeartArea()
50 LET B = GetParetoSetArea()
60 LET C = GetWinSetArea()
70 PRINT "Heart Area = ", A
80 PRINT "Pareto Set Area = ", B
90 PRINT "Win Set Area = ", C
100 LET E = GetArea("heart"... |
Attribute VB_Name = "E_nonreligious"
Option Explicit
Option Private Module
'
Function nthWeekdayOfMonth(iYear As Integer, _
iMonth As Integer, _
WantedWeekday As Integer, _
n As Integer, _
Optional CalendarTy... |
100 PRINT CHR$(26);TAB(24);"DEEPSPACE"
110 PRINT TAB(20);"CREATIVE COMPUTING"
120 PRINT TAB(18);"MORRISTOWN, NEW JERSEY"
130 PRINT:PRINT
150 PRINT "THIS IS DEEPSPACE, A TACTICAL SIMULATION OF SHIP TO SHIP"
160 PRINT "COMBAT IN DEEP SPACE."
165 PRINT
170 PRINT "DO YOU WISH INSTRUCTIONS";:INPUT I$
180 IF LEFT$(I$... |
10 REM NAME- STAR TREK
20 REM
30 REM ORIGIN- BILL PETERSON, CAL TECH, 1971. REVISED MARCH 1972 BY DON
40 REM L. DAGLOW OF I.E.C. AND POMONA COLLEGE.
50 REM
60 REM VERSION-- 32-8, WITH 3 DIMENSIONS & MANY OTHER CHANGES. MAY 14, 1973. DON L. DAGLOW.
75 REM ASSISTANCE ALSO RENDERED BY J... |
RANDOMIZE TIMER
10 COLOR 15, 1: SCREEN 13: CLS : KEY OFF: sc = 1000
15 FOR r = 1 TO 200 STEP 3
rn = INT(RND * 15)
20 CIRCLE (160, 100), r, rn
30 NEXT r
40 FOR x = 160 TO 30 STEP -1
rn = INT(RND * 15)
50 LINE (x, 0)-(320 - x, 200), rn
51 LINE (320 - x, 0)-(x, 200), rn
52 LINE (x + 160, 0)-(x + 160, 200), rn
53 LINE (160... |
@ERASE
0 REM BlueSpells Scanner Version 0.1
@INIT 1
0 REM Set LED on
1 A = pioset 20
0 REM Baud rate for serial line
2 A = baud 1152
0 REM SENSOR_ID
3 N = 10
0 REM INQUIRY SCAN COUNTER
4 M = 0
0 REM IS_DISCOVERABLE
5 I = 0
0 REM VERSION
6 V = 1
0 REM Debug toggle
7 Z = 0
0 REM power for scanning in dBm
0 REM A = def... |
1 REM HIGH/LOW JACKPOT GAME
2 REM
3 REM DESCRIPTION
4 REM
5 REM THIS GAME IS AN ADAPTATION OF THE GAME GUESS; HOWEVER,
6 REM INSTEAD OF JUST GUESSING A NUMBER BETWEEN 1 AND 100,
7 REM IN THIS GAME YOU WIN DOLLARS WHEN YOU GUESS THE NUMBER.
8 REM THE DIRECTIONS, IN THE WORDS OF THE GAME'S AUTHOR, ARE
9 REM AS FOLL... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =13035
DatasheetFontHeight =11
ItemSuffix =12
Right =14670
Bottom =11535
D... |
10 rem the Cave of Time, from the book by Edward Packard (c) 1979
20 rem adapted by C. Whitmore, NMS 2013
30 rem page 2
40 cls
50 print " __"
60 print "-' `-.___"
70 print " .--._ \__"
80 print " _/#####\__ `-._"
90 print "/##########`-._ \"
100 print "###############\ `."
110 print "################`. \"
120... |
10 poke 53280,11 : poke 53281,0
20 for y=0 to 24
30 for x=0 to 39
40 poke 1024+y*40+x,81
50 poke 55296+y*40+x,x
60 next x
70 next y |
1 REM 4051R12/4052R12 DEMO
4 RUN 100
24 GOSUB 680
25 RETURN
28 GOSUB 740
29 RETURN
32 GOSUB 810
33 RETURN
36 GOSUB 880
37 RETURN
40 GOSUB 960
41 RETURN
44 FIND 5
45 OLD
46 RUN
56 GOSUB 1020
57 MOVE X,Y
58 GOSUB 1370
59 GO TO 58
60 REM Image editing
61 GOSUB 1620
62 GOSUB 1450
63 GO TO 62
64 GOSUB... |
10 :REM'XFMR - 27 JAN 91 rev.13 APR 97
20 IF EX$=""THEN EX$="EXIT"
30 CLS:KEY OFF
40 COLOR 7,0,1
50 UL$=STRING$(80,205)
60 ER$=STRING$(80,32)
70 U1$="##,###.##"
80 U2$="##,####"
90 U3$="#,####"
100 T$=" TRANSFORMER RATIOS"
110 :REM'
120 :REM'.....start
130 CLS
140 COLOR 15,2
150 PRINT T$;TAB(57);"by George Murphy VE3ER... |
Attribute VB_Name = "Module1"
Sub renamex()
'保存先
MsgBox "PDFファイルをリネームします。B列が空欄の場合はリネームされません。"
myfolder$ = ThisWorkbook.PATH & "\"
Const A& = 1, B& = 2
Dim YorN As Integer
Dim SecPATH As String: SecPATH = Worksheets(1).Cells(1, 8).Value
If SecPATH <> myfolder Then '1
Y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.