text stringlengths 7 5.36M |
|---|
10 REM MAKEADV.MBS - DR DOBBS JOURNAL #61, NOV. 1981
20 PRINT "*** MAKEADV - AN ADVENTURE DATABASE CONVERSION UTILITY ***"
30 CLEAR 1000
40 DEFINT A-Z
60 PRINT
70 INPUT "Enter name of Database file (assumed ext .ADV)";FC$
80 IF FC$="" THEN PRINT "INVALID NAME":GOTO 70
90 IF INSTR(FC$,".")=0 THEN 110
100 FC$=LEFT$(FC$,I... |
Type=Class
Version=5.45
ModulesStructureVersion=1
B4J=true
@EndOfDesignText@
'Class module
Sub Class_Globals
Private ws As WebSocket 'ignore
' will hold our page information
Public page As ABMPage
' page theme
Private theme As ABMTheme
' to access the constants
Private ABM As ABMaterial 'ignore
... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
TabularCharSet =178
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14400
D... |
1 %TITLE "General Ledger Posting Program"
%SBTTL "GL_TRAN_POST"
%IDENT "V3.6a Calico"
SUB GL_TRAN_POST(PASS%, &
POST_STATUS%, &
BATCHNO$, &
UTL_BATCH.CH%, &
GL_YYYY_PP.CH%, &
GL_CHART.CH%, &
START_DATE$, &
END_DATE$, &
TITLE$(), &
DESCR$)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Managemen... |
SCREEN 12
CLS
x = 0'Variabel 1 f”r datorns †sikts generering.
y = 0'Variabel 2 f”r datorns †sikts generering.
t1% = 0'Variabel f”r din tillf„lliga †sikt(1/2)
t2% = 0'Variabel f”r datorns tillf„lliga †sikt(1/2).
n = 0'Variabel f”r antal omg†ngar.
p1 = 0'Variabel f”r din po„ng.
p2 = 0'Variabel f”r datorns po„ng.
... |
' FROG.BAS -- by Paul Somerson
' (c) 1987 Ziff Communications Co.
'
' --- set up, define frog and bug parts ---
'
DEFINT A-Z
SCREEN 0
COLOR 6, 0, 0
5 pts = 0
X = 20 ' Change from 20 to any number up to 99 for more chances
Z = 15 ' Change from 15 to any number ... |
10 :REM'FILTUT - 19 FEB 2010
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$,PROG$
60 PI=4*ATN(1) :TP=2*PI
70 :REM'.....title page
80 COLOR 15,2
90 PRINT " FILTER TUTOR"TAB(61)"by R.J.Dehoney IEEE ";
100 COLOR 7,0
110 :REM'.....start
120 REM -----rjd----FILTER TUTOR-... |
DECLARE SUB clearscreen ()
DECLARE SUB compmoveit (tray%, tempbeads%(), playerbeads%, level%)
DECLARE SUB showmoves ()
DECLARE SUB compselect (bt%(), tt%(), thistray%(), traytomove%)
DECLARE SUB movecomp (thistray%(), testedyet%(), bt%(), tt%(), tempb%(), beadswon%(), std%(), possiblex%(), mbt%(), endx%(), playerx%(), ... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularFamily =0
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =10740
DatasheetFontHei... |
Attribute VB_Name = "z_Chrome"
Option Explicit
#If VBA7 Then
Private Declare PtrSafe Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
Private Declare PtrSafe Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As... |
10 KEYOFF:PLAY"t100s1m10000l8","t100s1m10000l16"
20 SCREEN1:LOCATE 10,10:PRINT"๐ุลำหม!"
30 DATA "o4gbo5d","o3gbo4dgf+g","o5dco4a","o4fgegce"
40 DATA "o4f+o5dc","o3ao4co3f+ao4df+","o4a#b.a16","o4go3gbo4dgf"
50 DATA "o4g+bo5d","o4efedo3bg+","o5co4ba","o3ao4aedce"
60 DATA "o4bag","o4egcecc+","o4bar8","o4dgf+dco3a"
7... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DateGrouping =1
GridY =10
Width =10658
ItemSuffix =134
Left =2100
Top =255
ShortcutMenuBar ="Sports Admin-Print Popup"
Toolbar ="Sports Admin-Print"
RecSrcDt = Begin
0xb79815f6abcde140
... |
10 CLEAR 1500
20 INPUT"Введите количество слов";N:PRINT"Вводите слова!"
27 'В строках 30-60 идентификация исходного массива C$(N).
30 DIM C$(N):FOR I=1 TO N:INPUTC$(I):NEXT:K$=""
75 'В строках 80-130 находятся "общие" символы. Значение переменной К$ состоит из "общих" символов.
80 FOR I=1 TO N:FOR J=1 TO LEN(C$(I)... |
10 CALL NETEND
20 INPUT"Младший байт";N1:INPUT"Старший байт";N2:INPUT"Значение";D
30 PRINT"Старое значение:";
40 OUT&H99,N1:OUT&H99,N2:PRINT INP(&H98)
50 OUT&H99,N1:OUT&H99,N2 OR&H40:OUT&H98,D
60 PRINT"Новое значение:";
70 OUT&H99,N1:OUT&H99,N2:PRINT INP(&H98)
80 CALL NETINI:'Отмена действия команды CALL NETEND
... |
' Program "IOTA" February 4, 1991
'
' Copyright (c) 1991 Crescent Software
'
' Impulsive Orbital Transfer Analysis
'
' Input
'
' Altitude of initial circular orbit ( nautical miles )
' Altitude of final circular orbit ( nautical miles )
' Total plane change angle ( degrees )
'
' ... |
REM @english
REM STRING MANIPULATION CONVERTING FROM NUMBERS (1)
REM
REM This example shows how to convert a number into a string, by using the ''STR'' function.
REM
REM @italian
REM MANIPOLAZIONE DI STRIGHE CON CONVERSIONE DA NUMERI (1)
REM
REM Questo esempio mostra come convertire un numero in una stringa, us... |
'********** DiskInfo.Bas - shows how to get full information about a disk
'Copyright (c) 1989 Ethan Winer
DEFINT A-Z
DECLARE SUB DiskInfo (Drive$, Bytes, Sectors, FreeClusters, TotalClusters)
DECLARE FUNCTION GoodDrive% (Drive$)
DECLARE FUNCTION GetDrive% ()
CLS
INPUT "Enter the drive to check, or press Enter for t... |
KILL "a:\integer.txt"
OPEN "a:\integer.txt" FOR RANDOM AS #1 LEN = 4
DIM total AS LONG
FOR k = 65279 TO 65300
total = k
PUT #1, (k - 65278), total
NEXT k
|
5 ERASE "readwrite"
10 OPEN ("readwrite")
20 WRITE "test"
30 RSEEK (0)
40 PRINT READLINE$
50 WSEEK (1)
60 WRITE "a";
70 RSEEK (0)
80 PRINT READLINE$
90 CLOSE
|
Attribute VB_Name = "POLYNOMIAL_ORTHOGONAL_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.
'*************************************************... |
''
'' variable-arguments example
''
declare sub myprintf cdecl (byref fmtstr as string, ...)
dim s as string
s = "bar"
myprintf( "integer=%i, longint=%l single=%f, double=%d, string=%s, string=%s", _
1, 1LL shl 32, 2.2, 3.3, "foo", s )
print
sleep
'':::::
sub myprintf cdecl (byref fmtstr as string,... |
PRINT "h" ;
DO
PRINT "m" ;
LOOP
|
Attribute VB_Name = "modCSVHelp"
Option Explicit
' -----------------------------------------------------------------------------------------------------------------------
' Procedure : CodeToRegister
' Purpose : Generate VBA code to register a function.
' -----------------------------------------------------------... |
CLS
SCREEN 7
DATA 12
DATA 12
xlength = 1
ylength = 2
FOR x = 1 TO xlength
FOR y = 1 TO ylength
READ z
PSET (x, y), z
NEXT
NEXT
DIM weird(xlength * ylength)
|
Operation =1
Option =0
Where ="(((Left([COMPNAME],13))=\"AB GOVERNMENT\"))"
Begin InputTables
Name ="viewFindMostRecentProjects"
Name ="dbo_CompanyEmployee"
Alias ="SalesRep"
Name ="dbo_CompanyEmployee"
Alias ="CSR"
End
Begin OutputColumns
Expression ="viewFindMostRecentProjects.*"
Alias ="... |
' CONVERTS A BINARY NUMBER TO A NORMAL NUMBER
CLS
INPUT "Input a binary number "; bin&
bin$ = STR$(bin&)
FOR i = LEN(bin$) TO 1 STEP -1
IF MID$(bin$, i, 1) = "1" THEN num& = num& + 2 ^ ABS(i - LEN(bin$))
NEXT
PRINT num&
|
! Demo TCP Client by getting
! current time from a Time Server
! of the U.S. National Institute
! of Standards and Technology (NIST)
! DO NOT ATTEMPT TO ACCESS
! THIS SERVICE MORE OFTEN
! THAN ONCE EVERY 4 SECONDS!
! Other time servers can be found at
! http://tf.nist.gov/tf-cgi/servers.cgi
SOCKET.CLIENT.CONNECT "ti... |
1 %TITLE "User Report Settings"
%SBTTL "UTL_RPRT_REPORT"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 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
! the inclusion ... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
OrderByOn = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularCharSet =162
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
... |
CLS
SCREEN 12
X=2
Y=1
CL=15
COLOR CL
FONT:
LET A$=INKEY$
IF A$=CHR$(27) THEN END
IF A$=CHR$(13) THEN LOCATE Y,X:PRINT" ":X=0:IF Y<22 THEN Y=Y+1:GOTO CHA
IF A$=CHR$(0)+"H" THEN LOCATE Y,X:PRINT" ":X=X-1:IF Y>1 THEN Y=Y-1:GOTO CHA
IF A$=CHR$(0)+"P" THEN LOCATE Y,X:PRINT" ":X=X-... |
1 print"{clear}":poke 53281,0:poke 53280,0
10 poke 2040,13:poke 2041,13:poke 2042,13:poke 2043,13
20 v=53248:poke v+21,255:poke v+39,2:poke v+40,3:poke v+41,10:poke v+42,12
30 poke v,100:poke v+2,200:poke v+4,100:poke v+6,200
40 poke v+l,100:poke v+3,100:poke v+5,100:poke v+7,200
50 poke v+23,6:poke v+29,3
60 for... |
00100 : REM ' REMINDER/BAS: REMINDS USER ABOUT MESSAGES
00110 CLS : CLEAR 6000
00120 GOSUB 1000:: REM ' OPEN MESSAGE FILES AND FIELD
00130 GOSUB 2000:: REM ' CLS AND PRINT TITLE WITH BORDER
00140 GOSUB 3000:: REM ' READ IN ALL REMINDER RECORDS
00150 GOSUB 4000:: REM ' INPUT TIME AND DATE AND TURN ON CLOCK
0... |
0 P.$12" UFOufoUFOufoUFOufoUFOufoUFOufo"'
1 P." ******************************"
2 P.''"THE OBJECT OF THE GAME IS TO MOVE THE UFO INTO "
3 P."YOUR SIGHTS AND SHOOT IT DOWN"''
4 P."YOU HAVE 20 SHOTS TO SHOOT IT DOWN"''
5 P."CTRL=UP:SHIFT=DOWN:=LEFT:"'"3=RIGHHT:G=FIRE"''
6 P." (PRE... |
#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 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... |
1 REM ************************
2 REM * 3D ROTATIONS *
3 REM ************************
4 REM PORTED TO LM80C BASIC BY
5 REM LEONARDO MILIANI
6 REM FROM A SOURCE BY "RETRO64" BLOG
7 REM (http://retro64.altervista.org/)
8 REM
10 SCREEN 2
20 DIM X(8),Y(8),Z(8)
30 DIM PF(255),NF(255)
40 DIM CO(100),SI(100)
45 DIM XD... |
CLS:RANDOMIZE TIMER
'===========================================FIELD GOAL
FGOAL:
PI=3.14159
PCT=80
FP=25
Y=267
NUM=10
FGMTOT=0:FGMISS=0
FGFP=30+PCT*.4
'-----------------------------------------------FG MATH
FOR N=1 TO NUM
FGM=0
FGFACT=5.6E-5*PCT^2-.005*PCT+1.4
' LOCATE 1,20:?"FGF... |
10 REM AQUARIUS WRITE RLI TO TAPE
15 DIM A(64):P=10
20 A$="":INPUT A$:IF A$="" THEN GOTO 90
30 FOR I=1 TO LEN(A$)
40 POKE PEEK(14552)+256*PEEK(14553)+P,ASC(MID$(A$,I))
50 P=P+1
60 NEXT I
70 GOTO 20
90 CSAVE*A
|
10 REM ARRAY ASSIGNMENT
15 OPTION BASE 1
20 DIM A(6)
30 DATA 0,1,2,3,4,5,6
40 DATA 7,8,9,10,11
100 ARR READ A
150 PRINT "ARRAY A"
160 ARR PRINT A
200 ARR READ B(6)
250 PRINT "ARRAY B"
260 ARR PRINT B
999 END
|
10 REM**************************
20 REM** BLOCK SCAN
30 REM** 2013 NOV / BH
40 REM** REQUIRES MPEEK() & MBAND() FUNCTIONS
50 REM**************************
60 REM** BLOCK ADDRESSES & LABELS
70 REM**************************
80 DATA 6144,"ROM (BASIC)"
90 DATA 7168,"ROM (TAPE) "
100 DATA 8192,"CARD A "
110 DATA 9216,"... |
' Program "DEMOVECT" December 26, 1990
'
' Copyright (c) 1988, 1989, 1990 Crescent Software
'
' This program demonstrates the procedure for calling
' the QuickPak Scientific vector utility subroutines.
'
' The available vector subroutines are:
'
' Unit vector
' Vector cross product
' Vecto... |
5 rem two bouncing balls - does not work either - page 73 (book 1 and 2)
10 s=54272 : poke s+24,15
20 poke s+1,115 : poke s,88
30 poke s+5,0 : poke s+6,240
40 poke 53280,0 : poke 53281,0
50 print chr$(147)
60 for r=3 to 18
70 poke 214,r : print chr$(129)
80 print tab(11);chr$(18);" ";
90 print tab(26);" "
100... |
SCREEN 0
SCREEN 12
_TITLE "Mouseball"
DIM BGArray(5000) AS INTEGER
DO
IF _MOUSEINPUT THEN
currentx = _MOUSEX
currenty = _MOUSEY
IF currentx < 6 THEN
currentx = 6
END IF
IF currentx > 634 THEN
currentx = 634
END IF
IF currenty < 6 THEN
... |
REM Load and display a Degas Elite compressed colour PC1 file
REM Written in HiSoft Basic by R.A.Waddilove
REM Word 0 = screen resolution ($8000=compressed colour, $0000=uncompressed)
REM Words 1-16 = palette
REM Byte 34- = picture data
REM Picture data - byte 0... 127 = copy next n+1 bytes
REM byte -1...-12... |
'AMBRARY v0.3
'(AMB library, geddit?)
'Written in QuickBASIC 4.5 for FreeDOS, 2021.
'Released under the Dowhatthefuckyouwant license.
'Scans C: for AMB files and allow user to select one for reading.
'Requires the AMB reader and at least one AMB file to be installed.
'Well, it wouldn't be much use otherwise... |
DECLARE FUNCTION BETAI! (A!, B!, X!)
SUB PEARSN (X(), Y(), N, R, PROB, Z)
TINY = 1E-20
AX = 0!
AY = 0!
FOR J = 1 TO N
AX = AX + X(J)
AY = AY + Y(J)
NEXT J
AX = AX / N
AY = AY / N
SXX = 0!
SYY = 0!
SXY = 0!
FOR J = 1 TO N
XT = X(J) - AX
YT = Y(J) - AY
SXX = SXX + XT ^ 2
SYY = SYY + YT ^ 2... |
' Release: GERMS Version 1.0 by William Yu (03-30-97)
' Status: 100% Public Domain, please give credit where due.
' Contact: e-mail: voxel@freenet.edmonton.ab.ca
DEFINT A-Z
DECLARE SUB DrawTitle (Pill%(), PillColours%(), Clock%())
DECLARE SUB InitJoystick (JoyStick() AS ANY)
DECLARE FUNCTION MatchVe... |
1 %TITLE "Payroll Time Audit Report"
%SBTTL "PR_RPRT_AUDT_TIME"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 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
! the ... |
CLS
SCREEN 12
G=-0.8
FOR A=1 TO 400
CIRCLE(320,240),A,0,-0.5,G
G=G-0.1105
FOR N=1 TO 1000
NEXT N
CIRCLE(320,240),A,A,-0.5,G
FOR N=1 TO 1000
NEXT N
NEXT |
5 rem multi-filter demo
10 gosub 200
18 poke 53281,0:s=54272:x=0:f=35:rm=140
20 poke s,18:poke s+1,f:poke s+18,16
25 poke s+15,rm:poke s+14,200:poke s+23,129
30 poke s+4,32:poke s+5,15:poke s+6,248
40 poke s+21,8:poke s+129,33:poke s+24,79
50 poke s+4,21:poke s+22,x
60 for f=150 to 200 step 5:poke s+... |
_TITLE "Piano"
CLS
PRINT " 3-C+ 4-D+ 6-F+ 7-G+ 8-A+"
PRINT " w-C e-D r-E t-F y-G u-A"
PRINT
PRINT " v- <-Octave n- ->Octave"
octave = 3
DO
_LIMIT 100
key$ = INKEY$
play$ = ""
IF key$ <> CHR$(99) THEN
octavedown = 0
END IF
IF key$ = CHR$(99) AND octavedown = 0 THEN
octave = octave - ... |
10 REM ******************
20 REM *** ***
30 REM *** FASSFARBEN ***
40 REM *** ***
50 REM ******************
60 REM
70 GOSUB 1000
80 GOSUB 2000
90 GOSUB 3000
100 END
1000 REM
1010 REM *** VORBEREITUNGEN ***
1020 REM
1030 DIM FE(3,6)
1040 DIM FA$(6)
1050 FOR I=0 TO 6:READ FA$(i):NEXT I
1060 DATA "{g... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularCharSet =204
PictureSizeMode =1
DatasheetGridlinesBehavior =3
GridY =10
Width =14740
DatasheetFontHeight... |
Attribute VB_Name = "Xnlog"
Option Explicit
''''' ADDED BY TK """""""""""""""""""""""
Public Const SAVED_NEW = 1
Public gLogFileNum As Integer
Public gOperator As String
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Public statuslist As New ... |
DEFINT A-Z
'$INCLUDE: 'engine.bi'
'$INCLUDE: 'xms.bi'
'$INCLUDE: 'tiles.bi'
'$INCLUDE: 'player.bi'
'$INCLUDE: 'items.bi'
'$INCLUDE: 'enemies.bi'
'$INCLUDE: 'teleport.bi'
'$INCLUDE: 'lifts.bi'
'$INCLUDE: 'weapons.bi'
'$INCLUDE: 'switches.bi'
'$INCLUDE: 'render.bi'
'$INCLUDE: 'sound.bi'
'$INCLUDE: 'map.bi'
... |
Attribute VB_Name = "Mng_String"
Option Explicit
' string manage library v1.8
' ==================================================================
' = 概要 末尾区切り文字以降の文字列を返却する。
' = 引数 sStr String [in] 分割する文字列
' = 引数 sDlmtr String [in] 区切り文字
' = 戻値 String 抽出文字列
' =... |
Attribute VB_Name = "GfxInit"
Option Explicit
'code timer
Public Declare Function GetTickCount Lib "kernel32" () As Long
Public Declare Function BitBlt Lib "gdi32" _
(ByVal hDestDC As Long, _
ByVal x As Long, _
ByVal y As Long, _
ByVal nWidth As Long, _
ByVal nHeight As Long, _
ByVal hSrcDC As Long,... |
!--------------------------------------------------
!- Friday, May 12, 2017 11:14:29 PM
!- Import of :
!- c:\src\zelch64\bak\prg.read.prg
!- Commodore 64
!--------------------------------------------------
8000 SYS51983:GOSUB2610:GOTO2650
8010 TX$="{f1}READ MSG #{ct c}":GOSUB5:GOSUB30:CM=I
8050 IFCM>NMORCM<1TH... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =-629597156
Begin Form
RecordSelectors = NotDefault
ControlBox = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
FilterOn = NotDefault
AllowDesignChanges =... |
10 REM--A.C.CAGGIANO+E.A.GALLETTA, PATCHOGUE H.S., 11-20-68
11 REM--REVISED BY CHARLES LOSIK AND TONY PEREZ 7/18/69
12 REM RE-REVISED BY C.LOSIK 8-26-70
20 REM--THIS PROGRAM IS ASSOCIATED WITH CLOUD FORMATION
25 REM PHASE I OF PROGRAM BEGINS HERE. STUDENTS WILL BE GIVEN
26 REM INTRODUCTORY INFORMATION AND BE AL... |
10 PRINT " ****************************"
20 PRINT " ** PROGRAMME D'ECHECS CSS **"
30 PRINT " ****************************"
40 PRINT " par Dieter Steinwender"
50 PRINT
60 DEFINT A-L, N-Z
70 DIM B(119), S(10, 4)
71 DIM M(10), A$(10), U(10), F$(10)
72 DIM R1(4), R2(4), R3(4), R4(4), R5(4), R6(4), R7(4), G1(... |
100 ' CMD CLS sample {DELAY2:2}
110 SCREEN 0,0:CMD CLS 3
120 C=1
130 FOR DE=0 TO 359 STEP 4
140 RA=3.14159/180*DE
150 LINE(320,100)-(320+180*SIN(RA),100-90*COS(RA)),C
160 C=C+1:IF C=8 THEN C=1
170 NEXT
180 CMD CLS 9
190 GOSUB *WAITTIME
200 CMD CLS 10
210 GOSUB *WAITTIME
220 CMD CLS 12
230 END
240 *WAIT... |
!--------------------------------------------------
!- Friday, May 12, 2017 11:13:54 PM
!- Import of :
!- c:\src\zelch64\bak\prg.new.prg
!- Commodore 128 BASIC 7/7.1
!--------------------------------------------------
8000 SYS51983
8010 CLOSE2
8020 TX$="{f1}ENTER YOUR{sh space}HANDLE (UNDER 17 CHARACTERS)"+CR$... |
10 CLS
15 DIM j(80)
20 CLEAR
30 LOCATE (12)
35 r = 6
37 c = 6
40 COLOR 4
50 PRINT TAB(40); "War!"
60 DO
70 LOOP UNTIL INKEY$ = " "
80 CLS
90 PRINT "Do you wish to play? Y/N"
100 INPUT "Y/N"; P$
105 IF P$ = "y" THEN 118 ELSE STOP
118 CLS
135 LOCATE 25, 1
136 INPUT A
SELECT CASE A
CASE IS = 8
r = ... |
CLS
PRINT " ESCRITOR DE CARTAS DE AGRADECIMENTO"
PRINT
PRINT "NOME DE QUEM DEU O PRESENTE"
INPUT D$
PRINT "PRESENTE"
INPUT P$
PRINT "SEU NOME"
INPUT N$
CLS
PRINT
PRINT
PRINT D$; ":"
PRINT
PRINT "Muito obrigado por me enviar "; P$; "."
PRINT "... |
' LED blink | IchigoJam BASIC
' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN)
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015
10 T=30
20 LED TICK()%(T*2)/T
30 GOTO 20
|
'ULTIMA282.BAS is a software application that enables the user to
'program their computer to conduct abbreviated-combinatorial analyses
'of card games belonging to the Blackjack family of table-card games.
'Copyright (C) 2016 Kevin Michael McDaniel
'This program is free software: you can redistribute it and/or modif... |
'QBASIC GORILLAS 2.2
'Version 1.0 (c)1990 Microsoft Corp and/or IBM Corp
'Version 2.2 (c)1997-2007 Daniel Beardsmore
'See http://telcontar.net/Misc/Gorillas/ for more information
'Set default data type to integer for faster game play
DEFINT A-Z
'Sub Declarations
DECLARE SUB RestReal (t#)
DECLARE SUB AlertSnd ()
DECLA... |
1 CLS
10 C9=0
11 R9=0
12 C8=0
20 DIM O1$[2],P1$[2]
30 DIM L$[8],G$[20],A$[20],G1$[20],A1$[20],J$[1]
40 DIM E1$[4]
160 FOR N2=1 TO 8
170 N2$ = STR$(N2)
180 L$=L$+N2$
190 NEXT N2
215 N%=2:GOSUB 10000 print N lines
220 PRINT SPACE$(35);"MASTERMIND"
225 N%=2:GOSUB 10000 print N lines
240 PRINT S... |
REM (This program calculates gear and gearcutter dimensions.)
WIDTH 40
CLS
COLOR 14
1 LOCATE 6, 3: PRINT "JOE'S DATA PROGRAM TO HELP YOU MAKE "
LOCATE 7, 3: PRINT "DP AND METRIC MODULE GEAR CUTTERS"
LOCATE 8, 3: PRINT "USING THE SPACED PIN CUTTER METHOD."
COLOR 10
LOCATE 12... |
10 T$="PLAN13": REM OSCAR-13 POSITION, SUN + ECLIPSE PLANNER
20 REM
30 IS$="v2.0": REM Last modified 1990 Aug 12 by JRM
40 REM
50 REM (C)1990 J.R. Miller G3RUH
60 REM
70 REM Proceeds from the sale of this software go directly to the
80 REM Amateur Satellite Programme that helped fund... |
10 for i=49152 to 49191:read a:poke i,a:next
20 for i=1024 to i+1000:poke i,160:poke i+54272,11:next i
30 for i=0 to 15:for j=0 to 15
40 p=1196+40*i+j:poke p,j+1:poke p+54272,j:next j,i
50 poke 53265,27:poke 53266,90:poke 251,90:poke 53281,0
60 poke 56333,127:poke 788,0:poke 789,192:poke 53274,1
70 get a$:if a$="" then... |
' This script is an example of the EMDO101 energy manager
' Please visit us at www.swissembedded.com
' Copyright (c) 2011 - 2015 swissEmbedded GmbH, All rights reserved.
' This example reads the D0 IEC interface every minute
' Please make sure that the D0 interface is configured to Mode C, D (continues mode) or U (unsp... |
' Module3
Option Explicit
Const c002E = 12 ' &HC%
Const c00B6 = 513 ' &H201%
Const c00BE = 514 ' &H202%
Const c00CC = 13 ' &HD%
Const c00EE = 2 ' &H2%
Const c013C = 16 ' &H10%
Sub sub3328 (p0010 As String, p0012 As String)
Dim l0016 As Integer
Dim l001A As Integer
Dim l001E As Integer
Dim l0020 As Integer
l0016% = ext... |
1 %TITLE "Cost Recovery Ceiling Table"
%SBTTL "AD_MAST_CEILING"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1987 BY
!
! Computer Management Center
! 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 memory 24999
10 call &6b78:mode 0
11 defint A-Z
'12 |setlimits,0,80,0,200
20 c$="HOLA":|printat,0,10,10,@c$ |
10 :REM'CENTFREQ - Centre Frequency - 16 JAN 96 rev.08 APR 97
20 IF EX$=""THEN EX$="EXIT"
30 CLS:KEY OFF
40 COLOR 7,0,0
50 UL$=STRING$(80,205)
60 U$="###,###.###"
70 :REM'
80 COLOR 15,2
90 PRINT " CENTRE FREQUENCY & WAVELENGTH";TAB(57);"by George Murphy VE3ERP ";
100 COLOR 1,0
110 PRINT STRING$(80,"▀");
120 COLOR 7,0
1... |
10 poke 53280,6:poke 53281,1:mu=100:jm=7:le=39:tx=15
20 for z=1 to le:e1$=e1$+"{cm @}":e2$=e2$+"{cm -}":next z:e2$=e2$+"{cm -}"
30 dim d$(52):c$="ASXZ":cc$="a234567890jqk"
40 for zz=1 to 4:for z=1 to 13
50 x=x+1:d$(x)=mid$(c$,zz,1)+mid$(cc$,z,1):next z,zz:print"{clear}"
60 for x=1 to 52
70 xx=int(rnd(1)*52)+1
80 dd$=d$... |
10 OPEN "GAMES" FOR INPUT AS #1 'Открывается "старый" файл
20 OPEN "GAMES2" FOR OUTPUT AS #2 'Открывается "новый" файл (пустой)
30 FOR X=1 TO 5
40 INPUT #1,F$
50 IF F$="Баскетбол" THEN F$="Водное поло"
60 PRINT #2,F$
70 NEXT X
80 CLOSE 1,2 'Оба файла закрываются
90 KILL"GAMES" ... |
'<ADbasic Header, Headerversion 001.001>
' Process_Number = 9
' Initial_Processdelay = 300
' Eventsource = Timer
' Control_long_Delays_for_Stop = No
' Priority = High
' Version = 1
' ADbasic_Version = 5.0.6
' Opti... |
If 1
Then
While 0
If 1
Then
Disp "umm
End
Disp "nooo
End
Disp "yes!
End
For(A,5,1,-1)
Disp A
End
1->A
While A<5
Disp A
A+1->A
End
1->A
Repeat A>5
Disp A
A+1->A
End
|
1 !
!++
! Description:
!
! MERGE two IC_TRANSACTION master files together.
! BE CAREFUL THAT THIS IS WHAT YOU REALLY WANT TO DO
!
! History:
!
! 04/10/2002 - Kevin Handy
!--
OPTION SIZE = (INTEGER LONG, REAL GFLOAT)
%INCLUDE "SOURCE:[IC.OPEN]IC_TRANSACTION.HB"
MAP (IC_TRANSACTION) IC_TRANSACTION_CDD IC_T... |
GR.0
P=DPEEK(88)
W=40:L=23
FOR I=1 TO W
POKE P,128:POKE P+W*(L-1),128
P=P+1
NEXT I
FOR I=1 TO L-2
POKE P,128:POKE P+W-1,128
IF I>10
FOR J=1 TO 38
POKE P+J,10
NEXT J
ENDIF
P=P+W
NEXT I
P=DPEEK(88)+10*40+19
Q=P
T0=0
F0=1
BASE = 0: BREAK = 1: BUILD = 2: FIGHT = 3: JUMPING = 4
STATE = BASE
JUMPCTR = 0
DO
S=... |
1 RANDOMIZE
5 PRINT CHR$(26):WIDTH 80
10 PRINT TAB(31);"MATH DICE":PRINT
20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
30 PRINT:PRINT:PRINT
40 PRINT "THIS PROGRAM GENERATES SUCCESIVE PICTURES OF TWO DICE."
50 PRINT "WHEN TWO DICE AND AN EQUAL SIGN FOLLOWED BY A QUESTION"
60 PRINT "MARK HAVE BEEN ... |
10 REM IF STATEMENT WITH INVALID SUBSTATEMENT
20 IF A < 7 THEN FOR I = 1 TO 10
30 NEXT I
99 END
|
Attribute VB_Name = "STAT_REGRESSION_LINEST_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 color 6,0,7:cls:poke 53272,21
11 rem determine screen size
12 sys 65517: cols=peek(781): rows=peek(782)
20 for x=0 to cols-1
21 poke 1024+x,67: poke 1024+cols*(rows-1)+x,67
22 next x
30 for y=1 to rows-2
31 poke 1024+y*cols, 93: poke 1023+cols+y*cols, 93
32 next y
40 poke 1024,85:poke 1023+cols,73:poke1024+cols*(row... |
10 OUT &HAA,6:X=INP(&HA9)
20 IF (X AND 4)=0 THEN PRINT "GRAPH":END
30 GOTO 10
|
5 LET r=10: LET c=0
10 LET xc=15: LET yc=10
20 LET x=0: LET y=r
30 LET d=3-2*r
40 GO SUB 300
50 LET x=x+1
60 IF d>0 THEN LET y=y-1: LET d=d+4*(x-y)+10: GO TO 80
70 IF d<=0 THEN LET d=d+4*x+6
80 GO SUB 300
90 IF y>=x THEN GO TO 50
95 IF r>4 THEN LET r=r-1: LET c=c+1: GO TO 10
100 STOP
300 PRINT ... |
10 print tab(33);"seabat"
20 print tab(15);"creative computing morristown, new jersey"
30 print:print:print
40 rem
50 rem program by vincent erikson
60 rem originally in h.p. basic
70 rem converted to microsoft basic by s.n.
80 rem
90 rem note the following about conversions:
100 rem 1) restore <line number> m... |
'
' Pant 2.0
'
' Generador de pantalles amb text
'
' COMPATIBLES AMB: C,PASCAL,CLIPPER,BASIC I D'ALTRES,ASCII
'
' Smart Software 1993/95 (C)
' Tomeu Capó Capó 1995 (C) ---*--- Summer '95
'
DECLARE SUB dBOX (ROW1%, COL1%, ROW2%, COL2%, A$, B$, C$, D$, e$, F$)
DECLARE FUNCTION FASTREADCAR! (X%, Y%)
DECLARE FUNCTIO... |
10 PRINT "PROGRAM FILE 107: INPUT OF NUMERIC CONSTANTS."
20 PRINT " ANSI STANDARD 5.2, 13.2, 13.4"
30 PRINT
40 PRINT "SECTION 107.1: INPUT OF NUMERIC CONSTANTS."
50 PRINT
60 PRINT " THIS SECTION TESTS THE PROCESSOR'S CAPABILITY TO INPUT"
70 PRINT " NUMERIC VALUES CORRECTLY. IF AN INPUT VALUE IS NOT ACCURATE"
80 PRIN... |
1 %TITLE "PR Employee STD Ernded Dump"
%SBTTL "PR_RPRT_STD_ERNDED"
%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 wit... |
10 ch$="a":n3$="hello":ifch$="("thenn3$=chr$(asc(n3$)+4)
20 dims%(10):s%=1:s%(1)=167:prints%(s%):i%=2:dimar$(100)
30 print ar$(2*(i%-16)+57-(s%(s%)=1))
40 s%(2)=676:s%(1)=11:s%(3)=1282
50 for i=1to3:a%=s%(i):printa%:next
60 for i=1to3:i%=i:a%=s%(i%):printa%:next
70 p%=-10:for i=80to100:p%=p%+1:printp%:next
80 for i=80t... |
DECLARE SUB squr (calltime!)
DECLARE SUB lne (calltime)
DECLARE SUB pie (calltime)
DECLARE FUNCTION calcspeed! ()
DECLARE SUB UpAAndDown (UpAndDown, down$)
DECLARE SUB presetterr (presetter, presetter$, clr, minus$)
RANDOMIZE TIMER
CLS
DIM SHARED s, cont
lastaction = TIMER
TYPE points
x AS LONG
y AS LON... |
1 %TITLE "Accounts Payable Expense Accrual by Period"
%SBTTL "AP_RPRT_APEXP"
%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 licen... |
5 'LISTING 5
10 '*************************
20 '*** 2048 VZ SCREENS ***
30 '*** VERSION 1.3 ***
40 '*** R.B.K. 18/5/86 ***
50 '*************************
88 '
89 '***FIND TOP OF MEMORY AND PROTECT 20 BYTES BY LOWERING TOM.
90 IF PEEK (30791)=77 THEN GOTO 500 :'7847H AS LOAD CHECK.
100 M1=PEEK(... |
]LIST
10 CLEAR :WK$ = "*":CH$ = "*":C
H% = 0:WU% = 0:R1% = 0:I = 0
:J = 0:K = 0:II = 0:IJ = 0:I
K = 0:T = 300:LT = LOG (10)
:T$ = "Taipan": GOTO 10000
90 REM
92 FOR II = 1 TO T:II = II + ( PEEK
( - 16384) > 127) * 9999: NEXT
II
94 FOR II = 1 TO T / 2:II = II +
( PEEK ( ... |
10 PLAY "T240L8 GF<A4B4> ED<F4G4> DC<E4G4> C2.
20 END
|
LABEL START
CLS:variations=1:RANDOMIZE TIMER
LABEL VARIABLES
A=1:B=1:C=1:D=1:E=1:F=1:G=1:H=1:I=1:J=1:K=1:L=1:M=1:N=1:O=1:P=1:Z=8:A$="":Dim D$(50000):cnt=0:
RECT 100,100,800,600,2:LINE 450,100, 450, 350,2:LINE 300,350,300,600,2:LINE 600,350,600,600,2:LINE 100,350,800,350,2
AX=275:JX=100:BX=625:CX=100:NX=200:OX=450:PX=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.