text stringlengths 7 5.36M |
|---|
10 print"{clear}"
20 poke 2040,13
30 for i=0 to 62:poke 832+i,129:next
40 v=53248
50 poke v+21,1
60 poke v+39,1:poke v+23,1:poke v+29,1
70 poke v+1,100
80 j=488
90 hx=int(j/256):lx=j-256*hx
100 poke v,lx:poke v+16,hx
110 j=j+1:ifj>511 then j=0
120 if j>488 or j<348 goto 90
|
' Copyright (c) 1989 Crescent Software
DEFINT I-N
DEFDBL A-H, O-Z
DECLARE SUB FCX (X, F)
DECLARE SUB FDX (X, F)
DECLARE SUB FAXY (X, Y, F)
DECLARE SUB FBXY (X, Y, F)
DECLARE SUB FXYZ (X, Y, Z, F)
SUB INTEGRA3 (XA, XB, L, M, N, XJ) STATIC
' Triple integration subroutine
' Composite Simpson Method
' ... |
1 for z=832 to 832+63*2:poke z,0:next z
2 for z=13 to 14:for a=0 to 15:for b=0 to 1:read x:poke z*64+a*3+b,x:next b,a,z
3 data 0,0,0,0,0,0,0,0,15,240,15,240,53,92,54,156,54,156,53,92,15,240,15,240
4 data 0,0,0,0,0,0,0,0
5 data 15,240,15,240,53,92,53,92,213,87,214,151,214,151,218,167,218,167
6 data 214,151,214,151,213,8... |
1 :'****************************
2 :'* SUPERPLAY *
3 :'* (C) 1987 BY *
4 :'* JEREMY SPILLER *
5 :'****************************
10 CLEAR 2000,&H7B7C:RESTORE
20 PO=&H7B7D:CH=0:FOR D=1 TO 11:CLS:PRINT"WORKING ON LINE";D:CH=0
30 READ D$:FOR X=1 TO LEN(D$)/2-1:P=VAL("&H"+MID$(D$,X*2-1,2... |
10 REM ------------------------ CASINO ------------------------------------
20 DIM A9(36),A1(20),A(4,13),D(20),E(20),P(2),W1(4,2),W(4,2),D1(5)
30 DIM Y(4),K(5),Y1(4)
40 DIM Z$(10),D$(20),C$(20),P$(2),W$(2)
50 R$=TIME$:HR=VAL(LEFT$(R$,2)):MN=VAL(MID$(R$,4,2)):SC=VAL(RIGHT$(R$,2))
60 RANDOMIZE TIMER
70 DEF FNA(X)=INT(X*1... |
4GOS.1940
1550DIMR(7)
1560G=#1740
1570S=#8000
1580CLEAR4
1590H=17;GOS.1750
1600GOS.a
1610IF H=1;GOS.c;G=G-#100;GOS.2010
1620IF H=2;GOS.c;GOS.2020
1630IF H=3;GOS.c;G=G-#100;GOS.2030
1640IF H=5;GOS.c;G=G-#100;GOS.2050
1650IF H=6;GOS.c;GOS.2060
1660IF H=7;GOS.c;G=G-#100;GOS.2070
1670IF H=20;GOS.c;GOS.2200
1680IF H=24;GOS... |
Attribute VB_Name = "m_JuegosDelHambre"
Option Explicit
Type JDHUser
UserIndex As Integer 'UI del usuario.
LastPosition As WorldPos 'Pos que estaba antes de entrar.
End Type
Private Type tCofres
Objetos(1 To 7) As Obj
X As Byte
Y As Byte
Abierto As Boolean
End Type
Type tJDH
C... |
DIM a(10000)
FOR x = 1 TO 100
FOR y = 1 TO x
z = INT(10000 * y / x)
'PRINT z;
a(z) = a(z) + 1
NEXT y
LOCATE 1, 1: PRINT x
NEXT x
OPEN "c:\windows\desktop\brueche.txt" FOR OUTPUT AS #1
FOR x = 1 TO 10000
s$ = ""
FOR y = 1 TO a(x)
s$ = s$ + "-"
NEXT y
PRINT #1, s$
NEXT x
CLOSE
|
10 :REM'MINILOOP - Miniature Tuned Loop Antennas - 12 MAR 95 rev. 09 DEC 2002
20 IF EX$=""THEN EX$="EXIT"
30 PROG$="miniloop"
40 COMMON EX$,PROG$,VC,CC
50 COLOR 7,0,1
60 PI=4*ATN(1)
70 U1$="##,###.###"
80 U2$="##,###.##"
90 U3$="##,#.#####"
100 U4$=" > ###.###"
110 UL$=STRING$(80,205)
120 :REM'
130 :REM'.....start
140 ... |
NAME LSEU FREEIEEE
UL C101 _dummy_ M+3000000000
UL C102 _dummy_ M+3000000000
XU C106 R102 000000000000
UL C107 _dummy_ M+3000000000
XU C111 R103 r+3Wgf+CdKe4
XU C112 R109 Q*3nheeB18l4
XU C114 R111 u+3LadJ+50I2
XU C... |
SUB INDEXX (N, ARRIN(), INDX())
FOR J = 1 TO N
INDX(J) = J
NEXT J
IF N = 1 THEN EXIT SUB
L = INT(N / 2 + 1)
IR = N
DO
IF L > 1 THEN
L = L - 1
INDXT = INDX(L)
Q = ARRIN(INDXT)
ELSE
INDXT = INDX(IR)
Q = ARRIN(INDXT)
INDX(IR) = INDX(1)
IR = IR - 1
IF IR = 1 THEN
... |
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... |
COLOR 15
333 CLS
PRINT " Pick-A Song"
PRINT "-----------------------------------------------------------------------------"
PRINT
PRINT
PRINT " Welcome to Pick-A-Song! This Program Lets you Listen to some Well Known Songs!"
PRINT
PRINT " 1. Mary had a Little La... |
' ********************************************************************
'
' Fitxer....................: RES_003.BAS
' Titol.....................: Modul per el fer un hist•ric d'una reparaci¢
'
' ********************************************************************
'
' Data inici................: 12/10/1996 19:41:06
' Dat... |
10 KEY OFF
20 COLOR 15,0,0
220 IF TIM$="" THEN TIM$=TIME$
410 REM *** Anzeigeroutine ***
420 CLS
430 LOCATE 2,23:PRINT"лл"
440 LOCATE 4,23:PRINT"лл"
450 LOCATE 2,56:PRINT"лл"
460 LOCATE 4,56:PRINT"лл"
470 Z=VAL(LEFT$(TIME$,1))
480 X=1
490 GOSUB 660
500 Z=VAL(MID$(TIME$,2,1))
510 X=9
520 GOSUB 660
530 Z=V... |
DIM SHARED Version AS STRING
DIM SHARED DevChannel AS STRING
DIM SHARED AutoBuildMsg AS STRING
Version$ = "1.5"
DevChannel$ = "Stable Release"
IF _FILEEXISTS("internal/version.txt") THEN
versionfile = FREEFILE
OPEN "internal/version.txt" FOR INPUT AS #versionfile
LINE INPUT #versionfile, AutoBuildMsg
A... |
1 %TITLE "Print Accounts Payable Check Attachment Using a Form"
%SBTTL "AP_FORM_CDJPCA"
%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 su... |
'********** DEMOXMS.BAS - demos the XMS stuff
'XMS software written by Dave Cleary
'Copyright (c) 1992 Crescent Software
'NOTE: This demonstration will not work if you are running under Windows
'unless you have told Windows in your DOS PIF file that it is to make
'XMS memory available.
'
'These routines and this demo... |
10 dim s(20,3): rem labirynth
15 rem fill labirynth connections with data from lines 120-170
20 for j = 1 to 20
30 : for k = 1 to 3
40 : read s(j,k)
50 : next k
60 next j
70 w=int(rnd(1)*20+1): rem random wumpus position
80 p=0: rem initial score
85 rem border and background black, font ... |
100 REM A program that demonstrates the color text modes.
110 REM 80 character text mode may be illegible on TV's
120 REM and low-quality monitors. This program is useful
130 REM for testing the quality of a color monitor.
140 SCREEN 0,1:COLOR ,0:KEY OFF:CLS 'Set COLOR TEXT MODE
150 DIM A$(40) ... |
NEW
1000 rem Testprogram 8255 with LCD HD44780
1010 gosub 10000 :rem Init LCD
2000 rem Main-Loop
2010 tx$="Z80 Basic 8255"
2020 gosub 10300
2030 for i=1 to 2000:next i
2040 gosub 10200
2050 for i=1 to 2000:next i
2055 gosub 10170
2060 goto 2010
10000 rem Init LCD
10010 Out 7,128 :rem 8255 all ports O... |
10 rem incrementing memory
20 code = 49152
30 for loop = 0 to 6
40 read byte
50 poke code + loop,byte
60 next loop
70 rem
80 rem m/c data
90 data 230,251 : rem $e6,$fb - inc $fb ; low byte of counter at $fb incremented
100 data 208,2 : rem $d0,$02 - bne ove... |
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... |
1 CLEAR VAL "24063": LOAD d*"FTHDOS.$"CODE
2 RANDOMIZE USR VAL "24128": REM cold
3 RANDOMIZE USR VAL "24132": REM warm
9 SAVE d*"FTHDOS" LINE SGN PI
|
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... |
10 J=1
20 FOR period=1 TO 4095 STEP 10
30 channel = 1 '1 to 3
40 ' period from 0 and 4095 = period=(62,500/frequency)
50 duration = 10 ' 1/100 sec
60 volume = 10
70 envolume = 0
80 enfrequancy = 0
90 noize = 0
95 SOUND 2, period, duration-5, volume-5 , envolume,enfrequancy, noize
100 SOUND channel, period, dur... |
' ********************************************************************
'
' Fitxer....................: PRO_001.BAS
' Titol.....................: Modul per el mateniment dels prove‹dors.
'
' ********************************************************************
'
' Data inici................: 16/09/1996
' Data de la darre... |
10 :REMARK \t\tBACKGAMM.BAS
20 :REMARK \t\tFOR HEATH H-8 OR H-89 WITH H-19
30 :REMARK \t\tREQUIRES MICROSOFT
40 :REMARK \t\tBy: R. Wild \n\t\t\tOSO11 Nepil Ave. \n\t\t\tWheaton, IL 60187\t\t\t
50 :REMARK \t\tIdea by Cursor Magazine
60 CLEAR1000:PK=12
70 :
80 DIMB(27),D(4),DA$(3),DI$(6,6),US(4),P(24),PR(6),M$(5)
90... |
5 for i=1 to 11 step 9
10 let a=1+i
18 print a,"--",7
20 if a=>7 then print "then Kosyak" else print "else SOVSEM NE KOSYAK"
30 if a>=7 then print "then Kosyak" else print "else SOVSEM NE KOSYAK"
40 if a=<7 then print "then Kosyak" else print "else SOVSEM NE KOSYAK"
50 if a<=7 then print "then Kosyak" else print "else ... |
10 print"{clear}":poke 53281,0:v=53248:x=20:y=120
20 for x=0 to 62:read a:poke 12288+x,a:next
30 poke 2040,192
40 poke v+21,1
50 poke v+39,10
60 poke v+0,x
70 poke v+1,y
80 x=x+1:if x>255 then poke v+16,peek(v+16)or 1:x=1
90 if (peek(v+16) and 1)=1 and x=91 then goto 110
100 goto 60
110 poke v+0,x:poke v+1,y
... |
22 CLS:PRINT:PRINT:INPUT"Число М ";M:DIM A$(17)
50 FOR I=1 TO 4:FOR J=1 TO 4:FOR K=1 TO 4:FOR L=1 TO 4:FOR N=1 TO 4:FOR S=1 TO 4:FOR P=1 TO 4:FOR R=1 TO 4:A=1
70 IF I=1 THEN A=A+2:A$(2)="+" ' OOO В строках 70-390 осуществляется
80 IF I=2 THEN A=A-2:A$(2)="-" ' полный перебор возможных комбинаций
90 IF I=3 T... |
1 %TITLE "Print Documentation"
%SBTTL "TK_SPEC_DOCPRINT"
%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 inclusion of the a... |
10 ?#23=#00;?#24=#82
20 DIM P(64),AA(100),CC(100),DD(100)
30 FOR N=1 TO 100
40 DIM J(20);AA(N)=J;$AA(N)=""
50 CC(N)=0;DD(N)=0
60 NEXT N
70 N=1;CC(1)=999
100aPRINT $12,$3,$15
110 PRINT "MENU OF OPTIONS"''
120 PRINT"1=READ DATA FILE"'
130 PRINT"2=WRITE DATA FILE"'
140 PRINT"3=TRIAL BALANCE"'
150 PRINT"4=AMEND ACCOUNT CO... |
100 ' LEFT$ sample
110 INPUT A$
120 FOR I=1 TO 10
130 PRINT LEFT$(A$,I)
140 NEXT I
150 END
|
100 REM Program that demonstrates the capabilities
110 REM of the LINE statement.
120 SCREEN 1,0 'Set medium-res color mode
130 COLOR 0,1 'Select palette 1 for color
140 KEY OFF:CLS 'Clear the screen
150 LINE (110,50)-(210,150),2,B 'Head
160 LINE (130,70)-(150,90),1,BF 'Left eye
... |
10 FOR I = 100 TO 0 STEP -2
20 PRINT I*I*I;
30 NEXT I
40 END
|
DECLARE SUB findcheck (num!, checkdgt!)
DECLARE SUB nextnum (num!, checkdgt!)
REM Benjamin Wolf
REM Cherokee High School
REM Division
REM November 25, 2002
CLS
FOR five = 1 TO 5
INPUT "PIN ==> ", idnum
num = idnum
checkdgt = 0
CALL findcheck(num, checkdgt)
CALL nextnum(num, checkdgt)
PRIN... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
ViewsAllowed =1
TabularCharSet =204
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =9887
DatasheetFontHeight =11
ItemSuffix =11
... |
LET t = TIME
LET sidelength = 1
LET dia_num = 1
LET drt1 = 1
LET drt2 = 7
DO
LET sidelength = sidelength + 2
LET dia_num = dia_num + 4
LET drt = drt1 + (drt1 - drt2) + 8
LET dlt = drt + sidelength - 1
LET dlb = dlt + sidelength - 1
LET drb = dlb + sidelength - 1
IF prime(drt) = 1 THEN LET ... |
Version =20
VersionRequired =20
Begin Form
ScrollBars =2
GridX =5
GridY =5
Width =13492
ItemSuffix =377
Left =45
Top =615
Right =11850
Bottom =4830
RecSrcDt = Begin
0x50129b46f28de240
End
RecordSource ="SELECT DISTINCTROW CorpList.RecID, CorpList.Company, CorpLis... |
Version =20
VersionRequired =20
Begin Form
AllowFilters = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowEdits = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
... |
DEFINT A - Z
PRINT "NUM v1.0 ■ Toggle NUM LOCK status"
PRINT "Copyright (c) 1995 by PowerBASIC, Inc. All Rights Reserved."
PRINT ""
Cmd$ = UCASE$( COMMAND$ )
IF ( Cmd$ = "ON" ) OR ( Cmd$ = "+" ) THEN
Stat = -1
ELSEIF ( Cmd$ = "OFF" ) OR ( Cmd$ = "-" ) THEN
Stat = 0
ELSE
PRINT "Use: NUM on|off|+|-"
END 1
END... |
DIM wait_t AS LONG
DIM start_t AS LONG
DECLARE SUB Wait (wait_time as LONG)
CLS
wait_t = 2
start_t = GetTime
WHILE start_t + wait_t >= GetTime
PRINT (GetTime)
WEND
CLOSE
FUNCTION GetTime
GetTime = TIMER(.1)
END FUNCTION
|
20 READ A,Y
100 FOR Y1 = 1 TO Y STEP 2
105 PRINT "CHANGE IN YEAR " Y1
110 FOR I = 1 TO Y1-1
140 PRINT I
150 NEXT I
170 FOR I = Y1 TO Y
185 PRINT I
190 NEXT I
195 PRINT
290 NEXT Y1
900 DATA 5000,7
999 END
|
1 'Example of CLEAR TICKB statement
10 CONFIG PIO &100,0,1,1,1,1: 'Configure pio chip at &100 to be all inputs
20 CLEAR TICKB
30 IF BIT(&100,0) = 1 THEN 30:'Exit loop when bit 0 goes low
40 PRINT TICK(1)
|
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... |
Attribute VB_Name = "mduVodTools"
Option Explicit
Public strRecordProcedureFile As String
Public objFileSystem As Scripting.FileSystemObject
Public Const strMoveDir As String = "SucessVOD"
Public Const strRecordName As String = "VODRecord_Kin.TXT"
Public objRecordWrite As TextStream
Public IsCancelCmd As Boolean
Privat... |
20 GOTO1000
21 ' Location subroutine.
22 ' Input: HX,HY is human position; CX,CY is Octon position.
23 ' Output: MV is move; DS is distance
30 DX=HX-CX:DY=HY-CY
40 IFDX=0THENIFDY>0THENDS=DY:MV=2:RETURNELSEDS=-DY:MV=8:RETURN
50 IFDY=0THENIFDX>0THENDS=DX:MV=6:RETURNELSEDS=-DX:MV=4:RETURN
60 DS=ABS(DX):IFDS<ABS(DY)THENDS=... |
10 ' GAMES MENU PROGRAM
15 DIM GAME$(52)
16 ON ERROR GOTO 1000
20 PRINT CHR$(26):WIDTH 80
30 PRINT TAB(25);"GAMES MENU":PRINT TAB(25);"==========":PRINT
40 PRINT "The following game programs are available on this disc:":PRINT
50 FOR I=1 TO 52
60 READ GAME$(I)
70 NEXT
80 DATA ACEYDUCY,AMAZING,AMAZINGP,ANIMAL,AW... |
DIM a(320)
SCREEN 13
FOR I = 1 TO 320
IF INT(RND * 2) + 1 = 1 AND INT(RND * 2) + 1 = 1 THEN
IF STE = 1 THEN STE = -1: a(I) = STE ELSE STE = 1: a(I) = STE
END IF
IF C >= 31 THEN STE = -1: a(I) = STE
IF C <= 20 THEN STE = 1: a(I) = STE
C = C + STE
NEXT I
C = 21
FOR I = 1 TO 16
... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
ControlBox = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
DividingLines = NotDefault
OrderByOn =... |
10 poke53280,3:poke53281,1:print"{clear}"
20 dimk$(20):s=22
30 print"{down}{right}ge{left}{up},{down}peld be a szo{left}{up},{down}t!"
40 print"{white}":inputs$
50 print"{blue}"
60 a=len(s$):a$=str$(a)
70 print"{down}{down}{down}{right}a szo{left}{up},{down}";a$;" betu{left}{up}R{down}bo{left}{up}R{down}l a{left}{up},{... |
Attribute VB_Name = "modEmails"
Option Compare Database
Option Explicit
Public Sub SendEmail(ByVal SendTo As String, ByVal Message As String, ByVal Subject As String, Optional ByVal AttachmentFile As String)
Dim objOutlook As Object
Dim objMsg As Object
Dim objAttach As Object
10 On Erro... |
940 REM The IBM Personal Computer Circle
950 REM Version 1.10 (C)Copyright IBM Corp 1981, 1982
960 REM Licensed Material - Program Property of IBM
975 DEF SEG: POKE 106,0
980 CLEAR,,8000:SAMPLES$="NO"
990 GOTO 1010
1000 CLEAR,,8000:SAMPLES$="YES"
1010 KEY OFF:SCREEN 0,1:COLOR 15,0,0:WIDTH 40:CLS:LOCATE 5,19:PRINT "IBM"... |
strPlaintext$ = ""
strCiphertext$ = ""
strEachChar$ = ""
intNum% = 0
CLS
PRINT "ROT13 Encoder/Decoder"
PRINT
PRINT "Enter text to either encode/decode(A-Z/a-z):"
INPUT strPlaintext$
strPlaintext$ = UCASE$(strPlaintext$)
FOR intEachChar% = 1 TO LEN(strPlaintext$)
strEachChar$ = MID$(strPlaintext$, intEachChar%, 1)
... |
10 let d=200
20 let br=100
30 let ba=90
40 print "pick a ball: red, blue or both"
50 input a$
55 print a$
60 if a$="red" then goto 90
70 if A$="blue" then goto 110
80 if a$="both" then goto 130
85 print "wrong choice!"
87 goto 40
90 let x=d-br
100 print "you pay $";br;" for red ball"
105 goto 150
110 let x=d-ba
120 pri... |
!--------------------------------------------------
!- Tuesday, February 21, 2023 2:23:36 PM
!- Import of :
!- c:\dev\c=ordle\128dle\128dle.prg
!- Commodore 128 BASIC 7/7.1
!--------------------------------------------------
10 rem 128dle - for c128
20 rem ======
30 rem by bo zimmerman and steve gray
40 rem v... |
90 RANDOMIZE
100 IF I<>1 THEN 101 ELSE PRINT "MIDNIGHT DREARY";
101 IF I<>2 THEN 102 ELSE PRINT "FIREY EYES";
102 IF I<>3 THEN 103 ELSE PRINT "BIRD OR FIEND";
103 IF I<>4 THEN 104 ELSE PRINT "THING OF EVIL";
104 IF I<>5 THEN 210 ELSE PRINT "PHOPHET";
105 GOTO 210
110 IF I<>1 THEN 111 ELSE PRINT "BEGUILING ME";
111 IF I... |
'
'
'
FUNCTION BubbleSort(x)
n = LEN(x)
FOR i = 1 TO n - 1
FOR j = i TO n
IF x[i] > x[j] THEN
temp = x[i]
x[i] = x[j]
x[j] = temp
END IF
END FOR
END FOR
BubbleSort = x
END FUNCTION
'
'
'
FUNCTION Main()
DIM w[5]
w[1] = 6
w[2] = 2
w[3] = 9
w[4] = 4
w[5]... |
20 COLOR 15,1,1:CLS:SCREEN 2:COLOR 15,1:CLS
60 FOR I=0 TO 7
70 READ A:VPOKE I,A:VPOKE I+2048,A:VPOKE I+4096,A
80 NEXT
90 FOR I=6144 TO 6144+767:VPOKE I,0:NEXT
120 FOR I=8192 TO 14435:VPOKE I,241:NEXT
150 GOTO 150
160 DATA &b11111111
170 DATA &b10011001
180 DATA &b10111101
190 DATA &b11100111
200 DATA &b11... |
Attribute VB_Name = "Mod_TileEngine"
'Argentum Online 0.11.6
'
'Copyright (C) 2002 Márquez Pablo Ignacio
'Copyright (C) 2002 Otto Perez
'Copyright (C) 2002 Aaron Perkins
'Copyright (C) 2002 Matías Fernando Pequeño
'
'This program is free software; you can redistribute it and/or modify
'it under the terms of the Affero ... |
10 REM Test different values
20 LET A0 = 10{M}
21 LET A1 = 20{L}
22 LET A2 = A0 + A1
23 PRINT "A2="; A2
99 END
|
10 REM Environment: SIMH/Altair32 V3.2-0 running CP/M 2.2
20 REM MBASIC Light Chaser for the IMSAI CP-C Front Panel.
30 FOR A=0 TO 7
40 X=2^A
50 FOR Y=1 TO 200:NEXT Y
60 PRINT X
70 OUT (&HFF),X
80 NEXT A
90 FOR A=6 TO 1 STEP -1
100 X=2^A
110 FOR Y=1 TO 250
120 NEXT Y
130 PRINT X
140 OUT (&HFF),X
150 NEXT... |
DECLARE SUB painthelp ()
' PAINT PROGRAM
' Alexander Meng
' 8/29/04
' x ........ pixel position on x axis
' y ........ pixel position on y axis
' c ........ pixel color
' bg ....... background color
' size ..... brush size
' press$ ... INKEY$
' help$ .... INKEY$
' leave$ ... INKEY$
' nogo ..... GOTO location
' noqu... |
1 %TITLE "Period Ledger by General Ledger Account"
%SBTTL "AD_RPRT_LEDPERACCT"
%IDENT "V3.6a Calico"
!
! 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 with terms of such license and wit... |
00 DEF FN f(a) = 7 * a + 4
01 LET a = 2 * 4 / FN f(1 - 5) - 8
05 END
|
DECLARE SUB Drlin (x1!, y1!, x2!, y2!)
DECLARE SUB Drblock (x1!, y1!, x2!, y2!)
'set up the mouse drivers
DECLARE SUB vsMOUSE (action$, a1%, a2%, a3%, a4%)
DECLARE FUNCTION vsINTERR% (ax%, bx%, cx%, dx%)
DIM mouse1(0 TO 45) AS INTEGER
RESTORE DataForMouse
DEF SEG = VARSEG(mouse1(0))
FOR i% = 0 TO 52
READ B... |
#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 %TITLE "MAINT - Maintain Payroll Journal"
%SBTTL "PR_JOUR_DETAIL_X"
%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 ... |
' #1 new.dbf
OPEN "F:\kevinprg\kevindat\new.dbf" FOR RANDOM SHARED AS #1 LEN = 200
FIELD #1, 6 AS codigo2$, 2 AS mini12$, 2 AS mini22$, 2 AS maxi12$, 2 AS maxi22$, 2 AS ubic2$, 35 AS nomb2$, 20 AS obser2$, 1 AS acti2$, 2 AS exi12$, 2 AS exi22$, 2 AS exi32$, 2 AS exi42$, 8 AS pv12$, 8 AS pv22$, 8 AS pv32$, 8 AS pv42$,... |
10 CLS:COLOR 1,15,8:SCREEN2:R=5/6
30 READ N:IF N=0 THEN 350
50 READ X1,Y1:X1=X1/2:Y1=Y1/.9:Y1=Y1*R
70 FOR P=2 TO N:READ X2,Y2:X2=X2/2:Y2=Y2/.9:Y2=Y2*R
90 LINE(X1,Y1)-(X2,Y2),1:X1=X2:Y1=Y2:NEXT P
130 GOTO 30
135 'Основная часть туловища тираннозавра
140 DATA 38,223,60,180,71,173,65,174,63,179,64,180,62,185,62,187... |
Version =21
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
ViewsAllowed =1
TabularFamily =124
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =6660
DatasheetFon... |
Operation =1
Option =0
Begin InputTables
Name ="dbo_ProjectComponentHeader"
Name ="dbo_ProjectHeader"
Name ="dbo_ContactGeneral"
End
Begin OutputColumns
Expression ="dbo_ProjectComponentHeader.ID"
Expression ="dbo_ProjectComponentHeader.ArtExpectedDate"
Expression ="dbo_ProjectComponentHeader.A... |
0 REM THE BEST OF INTERFACE PAGE 16
10 PRINT $12;DIM Y(3)
20 PRINT" ***********"'
30 PRINT" *** NIM ***"'
40 PRINT" ***********"''
50 PRINT"IN THIS WELL-KNOWN GAME, YOU BEGIN WITH 15 AND 23 "
60 PRINT"CHARACTER"'"128'S,AND MUST TAKE AWAY BETWEENONE AND"
70 PRINT" FOUR OF THESE ON EACH"'"TERM... |
1 'Example of DOSINT statement
10 IREGS.AX = &4800: 'Prepare to call DOS int &21, function &48
20 IREGS.BX = &30: 'Request &300 bytes
30 DOSINT &21
40 IF OREGS.C <> 0 THEN PRINT "Memory request failed": END
50 ASMSEG = OREGS.AX: 'Save returned pointer to memory space
60 BLOAD "test.bin",0,ASMSEG:'Load user's assembly r... |
'********** POPUPFP.BAS - shows where and how to unhook floating point ints
'Copyright (c) 1991 Ethan Winer
'Compile and link as follows:
'
' bc popupfp /o;
' link /nod/noe/far/packc popupfp str00256 , , nul, pdq
DEFINT A-Z
'$INCLUDE: 'PDQDECL.BAS'
ID$ = "POPUPFP.BAS Version 1.0 - press Alt-P to pop up"
DGroup =... |
Attribute VB_Name = "FastFourier"
'
'###############################################################################
'
' Visual Basic for Applications code module "FastFourier"
'
' Holds routines related to the fast discrete Fourier transform (DFT-FFT) for 1D
' complex data of arbitrary length. Includes prime-factor ca... |
10 border not pi: paper not pi: ink 4: clear val "32767"
20 load ""code
30 rem cls: print: print " Pytha Beeper Engine Demo": print " by utz 06'2017"
40 randomize usr val "32768"
|
1
CLS
COLOR 5
LOCATE 5, 20
PRINT "Welcome 2 ELYSiUM Muzic!"
SLEEP 2
CLS
LOCATE 6, 20
PRINT "Prezz SpaCe tO BeGiN"
SLEEP
CLS
COLOR 3
LOCATE 5, 30
PRINT "Chooze"
SLEEP 2
CLS
COLOR 10
LOCATE 7, 30
PRINT "1. Snail"
LOCATE 8, 30
PRINT "2. Argh"
LOCATE 9, 30
PRINT "3. Crash"
LOCATE 10, 30
PRINT "4. ... |
Attribute VB_Name = "AlwaysUseful"
Option Explicit
Sub NowAndStatus()
Attribute NowAndStatus.VB_ProcData.VB_Invoke_Func = "N\n14"
'
' now מאקרו
'
' קיצור מקשים: Ctrl+Shift+N
Dim Srow As Integer: Srow = ActiveCell.Row
Dim Scol As Integer: Scol = ActiveCell.Column
Dim I As Integer
Dim Stomp ... |
Operation =1
Option =0
Begin InputTables
Name ="dbo_ProjectComponentPress"
End
Begin OutputColumns
Expression ="dbo_ProjectComponentPress.ID"
Expression ="dbo_ProjectComponentPress.PrintJobStatus"
End
dbBoolean "ReturnsRecords" ="-1"
dbInteger "ODBCTimeout" ="60"
dbByte "RecordsetType" ="0"
dbBoolean "Orde... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Tb
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWord.Tb ... |
' Copyright (c) 1993 Crescent Software
DEFINT I-N
DEFDBL A-H, O-Z
SUB CSCOEF (N, X(), Y(), S(), INDEX()) STATIC
' Cublic spline coefficients subroutine
' Input
' N = number of X and Y data points
' X() = array of X data points (N rows by 1 column)
' Y() = array of Y data points (N rows by... |
DECLARE SUB bild ()
SCREEN 13
DIM pal%(0 TO 69)
DIM pal1%(0 TO 65)
bild
'LINE (0, 0)-(320, 200), 20, BF
FOR f% = 1 TO 64
k% = f%
IF f% = 15 THEN k% = 16
IF k% > 63 THEN k% = 63
pal%(f%) = k%
NEXT f%
FOR f% = 1 TO 64
pal1%(f%) = 1
NEXT f%
10
'FOR f% = 0 TO 63
' PALETTE f%, pal%(... |
SUB SPLINE (X(), Y(), N, YP1, YPN, Y2())
DIM U(N)
IF YP1 > 9.9E+29 THEN
Y2(1) = 0!
U(1) = 0!
ELSE
Y2(1) = -.5
U(1) = (3! / (X(2) - X(1))) * ((Y(2) - Y(1)) / (X(2) - X(1)) - YP1)
END IF
FOR I = 2 TO N - 1
SIG = (X(I) - X(I - 1)) / (X(I + 1) - X(I - 1))
P = SIG * Y2(I - 1) + 2!
Y2(I) = (SIG - 1!... |
SELECT *
FROM qryAllEmployees, tblPlantEmployeeQualifications
WHERE qryAllEmployees.employee_id = tblPlantEmployeeQualifications.ID_Employee;
|
LET t = TIME
LET LIMIT=4000000
LET z1=1
LET z2=1
DO
LET zn=z1+z2
LET z1=z2
LET z2=zn
IF zn>LIMIT THEN EXIT DO !Wenn das Limit erreicht ist, dann Ende
IF MOD(zn,2)=0 THEN LET sum=sum+zn !Nur wenn die nächste Zahl gerade ist, wird addie... |
8 PRINT
10 PRINT "a";
20 PRINT "b",
30 PRINT "c";"d"
40 PRINT 3.141592653589793
50 PRINT 0.1
|
Attribute VB_Name = "FuncionesXML"
Option Explicit
Private Const SignoMayor As String = ">"
Private Const SignoMenor As String = "<"
Private Const SignoAmpersand As String = "&"
Private Const SignoApostrofe As String = "'"
Private Const SignoComillas As String = """
Public Function EjecutaProce... |
option explicit
sub main()
dim errNo as long
dim rc as long
dim langId as long
dim errStr as string * FORMAT_MESSAGE_TEXT_LEN
'
' The error number for which the text has to be retrieved:
'
errNo = 1428
'
' The language into which to format the message. 0 = default language.
'
... |
SCREEN 12
REM ---Charakterwerte holen------
DIM skill$(80), skill(80), cargo$(30)
OPEN "inter.bas" FOR INPUT AS #1
INPUT #1, name$
INPUT #1, ship$
FOR i = 1 TO 80
INPUT #1, skill$(i)
INPUT #1, skill(i)
NEXT i
FOR i = 1 TO 6
INPUT #1, stat$(i)
INPUT #1, stat(i)
NEXT i
INPUT #1, file$
INPUT #1, cred: INP... |
1 %TITLE "Insert a Help File for a Particular System"
%SBTTL "TK_SPEC_JOINFORM"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 2002 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... |
Attribute VB_Name = "MySQLBlind"
' This code module rebuilt by VBRezQ v3.3a. 2-Feb-2012 / 19:56:23
Option Explicit
'Sub Subr_672()
'N * ref: __vbaExceptHandler
'N * ref: Subr_185
'N * ref: __vbaVarDup
'N * ref: IIf(
'N * ref: " "
'N * ref: "/*!30000"
'N * ref: IIf(
'N * ref: Subr_184
'N * ref: __vbaVarCat
... |
10 REM =========================================================
20 REM ===== KERAFYRM PASSWORD "RECOVERY" SYSTEM SIMULATOR =====
30 REM =========================================================
40 REM == EXECUTION START. BEGIN JUMP TO MAIN:
50 GOTO 5000
100 REM =======================================
110 REM ===== SUB... |
rem chr$(147) clear screen
rem poke 214,x change cursor row to x
10 print chr$(147)
20 data j.baker,322,g.hamilton,166,r.hermann,103,s.klein,191
30 data m.perera,86,t.phillips,71,p.richard,199
40 data d.smith,27
50 print "personal telephone listing"
60 for t=1 to 2000 : next
70 print chr$(147) : poke 214,4 : print
80... |
ROOTPATH = /home/userx/SHIELD
CFLAGS = -Wall -g
CC = gcc
INCLUDE = -I$(ROOTPATH)
AR = ar
ARPARAM = rcs
|
\******************************************************************************
\******************************************************************************
\***
\*** RF PICKING LIST ITEMS IN LISTS FILE FUNCTIONS
\***
\*** REFERENCE : PLLDBFUN.BAS
\***
\*** VERSION A ... |
10 for m=252 to 253:for i=64*m to 64*m+29:poke i,0:next
20 for i=64*m+30+30*(m=253) to 64*m+62:read a:poke i,a:next:next
30 print"{clear}"
40 sc=53248:x=24:y=155:poke2043,252:poke sc+7,y:poke sc+6,x:poke sc+16,0
50 poke sc+23,0:poke sc+29,0:poke sc+27,0:poke sc+42,5:poke sc+21,8
60 sc=53248:x=24:y=155:poke2043,252:poke... |
10 ' SAVE "LABEL"
20 '*********************************************************************
30 '*
40 '* ○○香料様向け ラベルプリントプログラム
50 '*
60 '* FILE_NAME : LABEL.BAS
70 '* AUTHOR : S.AIZAWA
80 '* DATE : 90/11/22
90 '*********************************************************************
100 '-------... |
' Draws ships representing each navy on map.
SUB ships
FOR s = 1 TO 2
IF navysize(s) = 0 OR navyloc(s) = 0 THEN navyloc(s) = 0: GOTO sink
IF navyloc(s) = 30 THEN x = 515: y = 268: GOTO float
IF navyloc(s) = 28 THEN x = 517: y = 172: GOTO float
IF navyloc(s) = 17 THEN x = 380: y = 425: GOTO float
IF navyloc(s) = 9... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.