text stringlengths 7 5.36M |
|---|
10 rem single byte mult giving 2 byte result
20 code = 49152
30 for loop = 0 to 19
40 read byte
50 poke code + loop,byte
60 next loop
70 rem
80 rem m/c data
90 data 162,8 : rem $a2,$08 - ldx #$08
100 data 169,0 : rem $a9,$00 - lda #$00
110 ... |
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 %TITLE "Accounts Receivable Register"
%SBTTL "AR_RPRT_LEDGER"
%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
... |
REM BAS_NOW.bas, 2015-02-21
REM THE FIRST PROGRAM STDUIED BY KEREMY AND KURTZ
REM OF DARTMOUTH, WAS NOT "HELLO WORLD!"
REM NOW DAYS IS BASIC FASTER THAN A SPREADSHEET SOLUTION???????
5 LET AGAIN$="NO"
PRINT " AX + BY = C"
PRINT " DX + EY = F"
PRINT " SOLUTION: X= (CE-BF)/(AE-BD)"
PRINT " ... |
REM @english
REM SCREEN MANIPULATION BEST BITMAP
REM
REM This example shows the best bitmap mode's characteristics.
REM
REM @italian
REM MANIPOLAZIONE DI SCHERMI CAMBIARE RISOLUZIONE (2)
REM
REM Questo esempio mostra la miglior risoluzione BITMAP disponibile.
REM
REM @exclude coleco
TILEMAP ENABLE
... |
1 %TITLE "MAINT - Maintain Annual PR Ledger"
%SBTTL "PR_MAST_REG_LEDGER"
%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 a... |
folder$ = "Nitrogen/Path-A"
copychk$ = "YES"
' Clear the pending jobs folder
OPEN "B:\PENDIN~1\temp.tmp" FOR OUTPUT AS #1
PRINT #1, "Temporary File"
CLOSE #1
KILL "B:\PENDIN~1\*.*"
FOR direc% = -1 TO -1
IF direc% = -1 THEN prefix$ = "job-"
IF direc% = 0 THEN prefix$ = "for-"
IF direc% = 1 THEN prefix$ = "rev-"
... |
10 CLS
20 SCREEN 1 'Select graphics mode
30 RES=8 'Use 8x8 halftoning screen
40 DIM TRESH(8,8) 'Array with treshhold values
45 'Fill the array
50 FOR Y = 0 TO RES-1
60 FOR X = 0 TO RES-1
70 READ TRESH(X,Y)
90 NEXT X
100 NEXT Y
105 '
110 DATA 0,128,32,160,8,136,40,168
120 DATA 192,64,224,96,200,72,232,104
130 ... |
10 REM Case: use too big index without dimensioning
20 a(13) = 2
30 print a(13)
|
10 poke 53281,1:print "{light blue}{home}"
20 poke 53280,7:poke 53281,6
21 for cnt=1 to 250
22 poke 1024+int(rnd(1)*1000),160
24 next cnt
30 x=1:y=1:dx=1:dy=1
40 x=x+dx:y=y+dy
41 if peek(1024+x+40*y)<>160 then 43
42 poke 53281,1:dx=-dx:rem crash
43 if peek(1024+x+40*y)=160 then poke 55296+x+40*y,1:poke53281,... |
0REM /// DESIGN /// V3
10 J=#80;Q=TOP;!Q=#85FFE320;Q!4=#6080;B=#2800
25 DOCLEAR1
30MOVE7,7;DRAW16,7;DRAW16,16;DRAW7,16;DRAW7,7
40 T=#8301;PLOT13,8,8
50 DO LINKQ;X=0;Y=0
55 IF?J=CH"^"GOS.p;LINKQ;F.N=0TO7;T?(N*16)=N?(?J*8+B);N.;?J=0
60 IF?J=CH"H"X=1
65 IF?J=CH"T"Y=1
70 IF?J=CH"B"Y=-1
80 IF?J=CH"F"X=-1
85 IF?J=CH"I"F.N=0... |
10 PRINT "PROGRAM FILE 35: EXCEPTION - OVERFLOW AND UNDERFLOW WITHIN"
20 PRINT " SUB-EXPRESSIONS"
30 PRINT " ANSI STANDARD 7.4, 7.5"
40 PRINT
50 PRINT "THIS PROGRAM TESTS THE EFFECT OF NUMERIC OVERFLOW AND"
60 PRINT "UNDERFLOW WITHIN A SUB-EXPRESSION ON THE CONTAINING"
70 PRINT "EXPRESSION."
80 PRINT
90 PRINT... |
Version =20
VersionRequired =20
Begin Form
OrderByOn = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
TabularFamily =48
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =9300
DatasheetFontHeight =10
ItemSuffix =4
Left =-3120
Top ... |
10 rem place m/c in free ram
20 rem from 49152 ($c000) onwards ( to $cfff) - 4096 bytes
30 code = 49152
40 for loop = 0 to 5
50 read byte
60 poke code + loop,byte
70 next loop
80 rem
90 rem m/c data
100 data 169,14 : rem $a9,$0e - lda #$0e
110 data 32,210,255 : rem $20,$d2,$ff ... |
1 %TITLE "PR Employee Master Dump"
%SBTTL "PR_RPRT_CHECKEMPLOYEE"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1993 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This software is furnished under a license and may be used and
! copied only in accordance with terms of such license and with
! th... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Outlaw.c
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWo... |
SCREEN 12
LOCATE 15, 20: PRINT "Choose your adventure!!!!!!"
SLEEP 2
CLS
PRINT "Please wait!"
SLEEP 4
1 CLS
PRINT "Your in your work building and you feel like throwing up from all the"
PRINT "smelly smog of the city."
PRINT "Your next to your boss and he says Want to go fishing!"
PRINT "You look up and see... |
'==============================KICKING GAME 2/28/2000
SUB KOFF(X,Y,XP,YP,A,B)
SHARED FKO,FPT,FKON,HOM,VIS,FP,FPKO,RET,TM(),ST(),QTR,FOB,FTBCK
SHARED CLOCK,YD,DIST,F21,YDS,F35,FMB,FML,SND,CNT,PENSC,FYDS,FGFP,XD1,XD2
SHARED HL%(),HD%(),HU%(),HR%(),VR%(),VL%(),VD%(),VU%(),BL2%(),YDG
SHARED HX... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =7860
DatasheetFontHeight =11
ItemSuffix =6
Right =17625
Bottom =12255
Dat... |
10 let a=40.2
30 if a/5=8.04 goto 60
40 print "RUN TIME FAILURE"
50 goto 70
60 print "RUN TIME PASS"
70 end
|
atom=H
contraction shell=S num_primitives=3 num_coefficients=1
0.122518E+02 0.233371E-01
0.186871E+01 0.159150E+00
0.418208E+00 0.500000E+00
contraction shell=S num_primitives=1 num_coefficients=1
0.106100E+00 1.0000000
contraction shell=P num_primitives=1 num_coefficients=1
0.100000E+01 1.0000000
atom=He
contraction s... |
' FIGHTBOT.FRM
Option Explicit
Sub Check3D1_Click (Value As Integer)
If Check3D1.Value = True Then
Text3.Enabled = True
Command3D2.Enabled = True
Else
Text3.Enabled = False
Command3D2.Enabled = False
End If
End Sub
Sub Command3D1_Click ()
If Text1.Text = "" Then
MsgBox "Please enter the name of the first fighter!",... |
Operation =1
Option =2
Begin InputTables
Name ="Table_Adj"
Name ="Query_CADJ_3053"
Name ="Query_CADJ_3054"
Name ="Query_CADJ_3057"
End
Begin OutputColumns
Expression ="Table_Adj.MINI_PAYOR"
Alias ="Count_3053"
Expression ="Query_CADJ_3053.Count"
Alias ="Total_3053"
Expression ="Quer... |
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... |
Operation =1
Option =0
Begin InputTables
Name ="tbl_Events"
Name ="tbl_Coordinates"
End
Begin OutputColumns
Expression ="tbl_Events.Event_ID"
Alias ="N_coord_recs"
Expression ="Count(tbl_Coordinates.Coord_ID)"
End
Begin Joins
LeftTable ="tbl_Events"
RightTable ="tbl_Coordinates"
Express... |
10 rem
12 input x1, y
13 if x1 < y then goto 15
14 zee = x1 + 2 * y
11 goto 16
16 print x1, y, zee
17 for i = 1 to 16 step 15
18 print i
19 next i
20 input st%
21 print "$", st%
22 input x
23 if y > x1 then x = y^3
24 print x1, #
25 end |
Attribute VB_Name = "modDosPrint"
Option Explicit
'我只要个简单的功能,比如运行ipconfig能把回显读取到,网上找了没效果,要么就是大篇大篇的调用
'下面这个函数能实现,需要 WScript.Shell 组件(WSHom.ocx)和cmd.exe的支持,如果你禁用了那就没法了
'调用 msgbox dosprint("ipconfig")
Public Function DosPrint(ByVal strCommand As String, _
Optional ByVal bolGetOutPut As Boolean =... |
RANDOMIZE TIMER
RESTORE
no% = -1
DO
READ file$
no% = no% + 1
LOOP UNTIL file$ = "*END*"
choice% = INT(no% * RND)
RESTORE
FOR file% = 1 TO choice%
READ file$
NEXT file%
OPEN "BACKGRND.BAT" FOR OUTPUT AS #1
PRINT #1, "COPY " + file$ + ".PCX C:\WINDOWS\BACKGRND.PCX",
CLOSE
END
DATA WOBBLE
DATA R... |
1 ifpeek(49153)+peek(49154)<>21thenload"ge",8,1
2 ifpeek(49153)+peek(49154)=21thensys49152
50 &g1,5,0
100 &s1
110 fori=100to100
120 &l0,0,i,199:next
9999 wait198,1:&g0
|
001 REM This is a comment.
002
003 REM FreeBASIC has some dialects and the comparison table is found here: |http://www.execulink.com/~coder/fb/docs/fb-kwrd-fbc-git.html|
004 REM Note, in the table, "X" indicates "**is** supported".
005
010 FOR I = 1 TO 100
020 IF ((I MOD 3 = 0) AND (I MOD 5 = 0)) THEN
030 P... |
10 A=A+.25:PRINT TAB(40+SIN(A)*35);"*":GOTO 10
|
Attribute VB_Name = "MFolderBrowser"
Option Explicit
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Copyright ©1996-2008 VBnet, Randy Birch, All Rights Reserved.
' Some pages may also contain other copyrights by the author.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''... |
CLS
COLOR 0, 7
PRINT " Datei Bearbeiten Ansicht Suchen Ausfhren Debug Optionen Hilfe "
COLOR 2, 0
PRINT "ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄ¿"
FOR x = 1 TO 18
PRINT "³"; SPACE$(78); "³"
NEXT x
PRINT "ÃÄÄÄÄÄÄÄÄÄ... |
4?#E=51;?#D=#44
5G.500;©(…L†Î
10 S=0
20 DO
30 INPUT"ENTER NUMBER "N
40 S=S+N
50 UNTIL N=0
60 PRINT"TOTAL IS"S'
70R.
80R.
90 I=0
100jI=I+1
110 PRINT I'
120 IF I<10 GOTOj
130R.
140 FOR I=0 TO 10
150 PRINT I'
160 NEXT I
170R.
180 INPUT"STEP SIZE "J
190 IF J=0 J=J+1
200 FOR I=0 TO 50 STEP J
210 PRINT I
220 NEXT I
230R.
2... |
10 CLS:INPUTR%:IFR%<1THEN10
20 A=R%*R%:T%=R%*SQR(2)/2: FORX%=(T%+1)TO(R%-1):C%=C%+SQR(A-X%*X%):NEXT:PRINTR%,4*(2*C%+R%+T%*T%)+1
|
Operation =1
Option =0
Where ="(((dbo_ProjectHeader.DocketNum) Is Not Null) AND ((dbo_ProjectHeader.ProjectStat"
"usID)<=30))"
Begin InputTables
Name ="dbo_ProjectComponentLFFinishWorkList"
Name ="dbo_ProjectComponentHeader"
Name ="dbo_ProjectHeader"
Name ="dbo_ContactGeneral"
End
Begin OutputColum... |
Attribute VB_Name = "modIRC"
Public Sub ActionAll(strText As String)
For i = 1 To intChannels
If Channels(i).strName <> "" Then
PutData Channels(i).DataIn, strColor & "06" & strMyNick & " " & strText
Client.SendData "PRIVMSG " & Channels(i).strName & " :" & strAction & "ACTION... |
1 PRINT TAB(32);"HEXAPAWN"
2 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
3 PRINT:PRINT:PRINT
4 REM HEXAPAWN: INTERPRETATION OF HEXAPAWN GAME AS PRESENTED IN
5 REM MARTIN GARDNER'S "THE UNEXPECTED HANGING AND OTHER MATHEMATIC-
6 REM AL DIVERSIONS", CHAPTER EIGHT: A MATCHBOX GAME-LEARNING MACHINE
7 RE... |
' Copyright (c) 2020-2023 Thomas Hugo Williams
' License MIT <https://opensource.org/licenses/MIT>
' For MMBasic 5.07
Option Explicit On
Option Default None
Option Base InStr(Mm.CmdLine$, "--base=1") > 0
#Include "../system.inc"
#Include "../array.inc"
#Include "../list.inc"
#Include "../string.inc"
#Include "../file... |
Attribute VB_Name = "vgTexto"
Option Explicit
'******************************************************************************
'FIND TEXT BETWEEN TWO STRINGS
'This function is useful for returning a portion of a
'string between two points in the string.
'You could, for example, extract a range name returned by
'Excel f... |
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'Pythagoras Tree
20 'Using Binary Number System
30 'Name: PYTHT1
40 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593
50 WINDOW (-8, -4)-(8, 8)
55 COLOR 15: LOCATE 1, 1: PRINT "Pythagoras tree, number system method"
60 p = 9: DIM a(p): 'order
70 x = 0: y =... |
rem SID base address
300 s=54272
rem main volume control to maximum
305 poke s+24,15
rem sound envelope shape
310 poke s+5,0 : poke s+6,240
320 for k=1 to 4
rem control register voice 1 - sawtooth + gate
330 poke s+4,33
rem frequency voice 1 low byte, high byte
340 poke s,0 : poke s+1,40
350 for t=1 to 500 : next... |
SCREEN _NEWIMAGE(640, 480, 32)
CLS , _RGB(0, 255, 0)
i = _LOADIMAGE("testmap.png") 'see note below examples to get the image
j = _LOADIMAGE("testmap2.png")
menu = _LOADIMAGE("barack.png")
button = _LOADIMAGE("Button.png")
charU = _LOADIMAGE("ladyup.png")
charD = _LOADIMAGE("ladydown.png")
charL = _LOADIMAGE("... |
OPEN "c:\windows\desktop\chin3.htm" FOR OUTPUT AS #1
PRINT #1, "<html><head><title>alle zeichen</title></head><body><font size=3>"
FOR x = 19968 TO 40869
PRINT #1, "&#"; LTRIM$(STR$(x)); ";"
NEXT x
PRINT #1, "</font></body></html>"
CLOSE
|
10000 PRINT "PROGRAM FOR PLOTTING EQUALLY"
10010 PRINT "SPACED DATA VALUES"
10020 PRINT
10030 PRINT "THE USER INPUTS THE STARTING "
10040 PRINT "AND ENDING COORDINATES, ALONG "
10050 PRINT "WITH THE NUMBER OF EVALUATION POINTS."
10060 PRINT "THE PROGRAM WILL THEN PLOT "
10070 PRINT "THE DATA"
10080 PRINT
10090 PRINT
10... |
CHDIR ".\programs\samples\qb45com\action\assault"
'Assault v2
'By Glenn Powell
'( powell98@pacbell.net )
'(c) 1999
'General Procedure Definitions
DECLARE FUNCTION KeyName$ (k$)
DECLARE FUNCTION KeyMark% (k$)
DECLARE FUNCTION TPoint% (tx%, ty%, pn%)
DECLARE FUNCTION BPoint% (tx%, ty%, pn%)
DECLARE FUNCTION TurfHit% (t... |
100 REM TINY BASIC ADVENTURE GAME COPYRIGHT (C) 1981 T.PITTMAN
110 Z=276
180 V=16384
210 A=23001
220 B=-24575
230 C=3
240 D=25004
250 E=5
260 F=30006
270 G=7
280 H=8
290 I=9
300 J=26010
310 K=29011
320 L=30012
330 M=26013
340 N=14
350 O=15
360 P=16
370 Q=2129
380 R=14018
390 S=18019
400 T=26020
410 U=21
430 W=23
440 X=... |
10 print 4.7\3
20 print -2.3\1
30 print int(-2.3)
40 print int(2.3)
50 print fix(-2.3)
60 print fix(2.3)
70 print fp(-2.3)
80 print fp(2.3)
|
'**** PCXHeadr.BAS - Routines to interpret the header of .PCX files
'Copyright 1990, Brian C. Giedt
DEFINT A-Z
'$INCLUDE: 'GWDECL.BAS'
'$INCLUDE: 'COMMON.GW'
SUB HandlePCXPalette (Array$, WhichScreen) STATIC
PCXVersion = ASC(MID$(Array$, 2, 1))
IF PCXVersion <> 2 AND PCXVersion <> 5 THEN EXIT SUB
I = 17
I... |
10 XS=40
20 YS=30
100 PRINT CHR$(147)
110 FOR X=0 TO XS-1
120 VPOKE 0, 0*256+X*2+1, 1*16+1
125 VPOKE 0, (YS-1)*256+X*2+1, 1*16+1
130 NEXT
140 FOR Y=0 TO YS-1
150 VPOKE 0, Y*256+0*2+1, 1*16+1
155 VPOKE 0, Y*256+(XS-1)*2+1, 1*16+1
160 NEXT
200 REM START IN THE MIDDLE
210 X=XS/2
220 Y=YS/2
300 REM ARE WE FINISHED?
310 ... |
30 LET N=1
40 LET S = S + N
50 PRINT N,S
60 LET N = N + 1
70 IF N <= 100 GOTO 40
80 PRINT : REM PRINT EMPTY LINE
90 PRINT "FINAL SUM: ";S
100 END
|
140 FOR I=0 TO 355 STEP 5
150 MOVE R,R
160 X=R*SIN(I)+R
170 Y=R*COS(I)+R
180 DRAW X,Y
190 WRITE @33:2
200 WRITE @33:R,X,R,Y
210 NEXT I
220 INPUT A$
230 FIND 28
240 FOR I=0 TO 355 STEP 5
250 X=R*SIN(I)+R
260 Y
100 INIT
110 SET DEGREES
120 R=50
130 FIND 27
140 FOR I=0 TO 355 STEP 5
150 MOVE R,R
160 X=R*SIN(I)+R
170 Y=R... |
DEFINT A-Z
'$DYNAMIC
DECLARE SUB CloseTheMusic ()
DECLARE FUNCTION Collision% (X1%, Y1%, X2%, Y2%, DeltaX1%, DeltaY1%, DeltaX2%, DeltaY2%)
DECLARE SUB ControlKeyboard ()
DECLARE SUB EndProgram ()
DECLARE SUB ErrorHandler (Text$)
DECLARE SUB InstallProgram ()
DECLARE SUB LoadLevelMap ()
DECLARE SUB LoadGraphics ()
DECL... |
DECLARE FUNCTION amicable! (a!, b!)
DECLARE FUNCTION factors! (n!, a!())
CLS
INPUT a, b
o = amicable(a, b)
p = amicable(b, a)
IF (o = 1 AND p = 0) OR (o = 0 AND p = 1) THEN
PRINT "One sided amicable"
ELSEIF (o = 1 AND p = 1) THEN
PRINT "Two sided amicable"
ELSE
PRINT "No amicable"
END IF
END
... |
10 DIM A%(5,6)
20 OPTION BASE 0
30 MAT READ A%
40 MAT B% = SORT2%(A%)
50 GOSUB 800
90 REM RESTORE
120 OPTION BASE 1
130 MAT READ A%
140 MAT B% = SORT2%(A%)
150 GOSUB 800
790 STOP
800 REM PROCEDURE A
810 PRINT "MATRIX A"
820 MAT PRINT A%
830 PRINT "MATRIX B"
840 MAT PRINT B%
890 RETURN
900 DATA 3%,10%,23%,30%,40%,50%,60... |
Attribute VB_Name = "MOD_PricingTimer"
Option Explicit
'START Pricing Structures
' Enum enmPricingType
' Basic = 0
' Bulk = 1
' Advanced = 2
' End Enum
'START Basic Pricing Structure
Enum enmMinOrBase
Minimum = 1
Base = 2
End Enum
... |
10 REM ********************
11 REM *** ***
12 REM *** AIR ATTACK ***
13 REM *** ***
14 REM ********************
15 REM
16 REM
20 GOSUB 1000: REM INSTRUCTIONS
30 GOSUB 2000: REM SETUP
40 GOSUB 3000: REM PLAY
50 GOSUB 4000: REM END
60 END
1000 :
1001 REM *** INSTRUCTIONS
1002 :
1030 POKE 53280... |
100 PRINT TAB(33);"LUNAR"
110 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
120 PRINT
130 PRINT
140 PRINT "This is a computer simulation of an Apollo Lunar Landing Capsule."
150 PRINT
160 PRINT "The on-board computer has failed (it was made by XEROX) so you have to"
170 PRINT "land the capsule manual... |
CLS
PRINT "Hello From QB64"
PRINT "This Is A Second Line of Text"
|
1 %TITLE "Sales Order G/L Account List"
%SBTTL "OE_RPRT_ACCOUNT"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1986, 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
... |
;jacob ==0801==
5 print chr$ (147)
10 print "broeder jacob"
20 print "============="
25 for i=1 to 1000:next i
30 for l=54272 to 54296: poke l,0:next
40 poke 54296,15
50 poke 54277,0
60 poke 54278,240
65 cn=0
70 print "broeder jacob ."
80 poke 54273,16 :poke 54272,195
90 poke 5427... |
0 V=53248:POKE54276,0:POKE54290,0:POKE54278,240:POKE54292,240:POKE54276,129
1 POKE54290,17:POKEV+33,0:POKEV+32,0:SC=1024:CL=55296:CO=54272:POKE54296,15
5 POKE56,28:POKE55,0:FOR I=12544 TO 12551:POKEI,0:NEXT
10 GOSUB 8000:GOSUB 8060:GOTO1000
99 IF K=1 THEN 99
100 IF K<>12 AND K<>20 THEN 150
105 POKESC+Y*40+X,32:X=X-(K=1... |
'<ADbasic Header, Headerversion 001.001>
' Process_Number = 6
' Initial_Processdelay = 3000
' Eventsource = Timer
' Control_long_Delays_for_Stop = No
' Priority = High
' Version = 1
' ADbasic_Version = 5.0.6
' Opt... |
150 LET A%=2.7
160 LET B%=3.4
170 LET C%=7.6
180 LET D=8.3
190 PRINT A%;B%;C;D
200 LET A%=C
210 LET B%=D
220 PRINT A%;B%;C;D
240 LET A=5
250 LET B=7
260 PRINT "A=";A
270 PRINT
280 PRINT "B=";B
290 LET C=A
300 LET A=B
310 LET B=C
320 PRINT "A=";A
330 PRINT "B=";B
|
'====================
'==Helper Functions==
'====================
Sub OpenLBNetDLL
open "LBNet.dll" for DLL as #LBNet
a = InitLBNet()
End Sub
Sub CloseLBNetDLL
a = EndLBNet()
close #LBNet
End Sub
Function InitLBNet()
CallDLL #LBNet, "InitLBNet",_
InitLBNet as long
End Function
Function EndL... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
TabularFamily =48
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =30780
DatasheetFontHeight =10
ItemSuffix =224
Left =15
Top... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
FilterOn = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
... |
LET t = TIME
DIM buchs$(0 TO 1000)
LET buchs$(1) = "one"
LET buchs$(2) = "two"
LET buchs$(3) = "three"
LET buchs$(4) = "four"
LET buchs$(5) = "five"
LET buchs$(6) = "six"
LET buchs$(7) = "seven"
LET buchs$(8) = "eight"
LET buchs$(9) = "nine"
LET buchs$(10) = "ten"
LET buchs$(11) = "eleven"
LET buchs$(12) = "twelve"
... |
Attribute VB_Name = "UtilTSMetCorrect"
Option Explicit
'Copyright 2001 by AQUA TERRA Consultants
Public Function CalcPrecipDistances(lTSer As ATCclsTserData, Stations As FastCollection) As FastCollection
'calculate distance between a single station (lTSer) and a collection of nearby "Stations"
'considering b... |
Attribute VB_Name = "STAT_MOMENTS_OMEGA_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.
'**************************************************************... |
Attribute VB_Name = "Diverses"
Option Explicit
Public idr2 As String
Public BuildPath As String
Public answer As Boolean
Public start_pano As Boolean
Public pataud As String
Public u As String
Public aud As String
Public use_pic As String
Public rota(40) As String
Public gltf1 As String
Public gltf2 As ... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
TabularFamily =0
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
OrderByOn = NotDefault
PictureAlignment =5
PictureSizeMode =1
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14460
DatasheetFontHeight =10
ItemSuffix =34
Left =7920
... |
10 REM EXPERIMENT WITH SOUND
15 DIM Y$(10)
17 CLS
20 INPUT "HERTZ = ", HZ
30 INPUT "TIME IN SEC. = ", TIM
40 TICKS = 18 * TIM
50 SOUND HZ, TICKS
60 INPUT "AGAIN? (Y/N)", Y$
70 IF Y$ = "Y" OR Y$ = "y" THEN 17
80 END
|
' Starfield Simulation
SCREEN 9, , 0, 1
DIM x(3000), y(3000), z(3000)
an = 100 'Sternenanzahl
ab = 320 'Abstand
sp = 10 'Speed
sp = sp * SGN(sp)
FOR q = 0 TO an
x(q) = RND * 640 - 320
y(q) = RND * 350 - 175
z(q) = ab
NEXT q
DO
FOR q = 0 TO an
IF z(q) ... |
100 poke 53281,1:rem set background color #0 to white
110 poke 53282,3:rem set background color #1 to cyan
120 poke 53283,8:rem set background color #2 to orange
130 poke 53270,peek(53270) or 16:rem turn on multicolor mode
140 c=13*4096+8*256:rem set c to point to color memory
150 print chr$(147)"aaaaaaaaaa"
160 for l=... |
Version =21
VersionRequired =20
Begin Form
Modal = NotDefault
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
DefaultView =0
ScrollBars =0
ViewsAllowed =1
TabularFamily =124
PictureAli... |
10 MODE8:DIM:GOSUB500:c$=CHR$(5):n=1:m=1:x=0:DEFCHR$(254)="3E02040830":DEFCHR$(252)="123E020000":DEFCHR$(253)="2E2A3A0000"
20 CLS:PRINT"Upper probability F(x,şü,şı)";
30 z=n:s$="şü":GOSUB400:n=z:IFn=<0 ORFRACn<>0 THEN30
40 z=m:s$="şı":GOSUB400:m=z:IFm=<0 ORFRACm<>0 THEN40
50 z=x:s$="x":GOSUB400:x=z
60 LOCATE0,1:PRINT... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =1475157360
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =12840
DatasheetFontHeight =11
Left =1710
To... |
CLS
DIM a AS INTEGER, b AS INTEGER
DIM casenum AS INTEGER
DIM a(10) AS INTEGER
OPEN "even.in" FOR INPUT AS #1
OPEN "even.out" FOR OUTPUT AS #2
FOR casenum = 1 TO 5
INPUT #1, n
FOR i = 1 TO n
INPUT #1, a(i)
NEXT i
ans = -1
FOR i = 1 TO n - 1
FOR j = i + 1 TO n
t = a(i) + a(j)
... |
Version =20
VersionRequired =20
Begin Form
DefaultView =0
TabularFamily =105
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14580
DatasheetFontHeight =10
ItemSuffix =18
Right =13515
Bottom =7605
DatasheetGridlinesColor =12632256
RecSrcDt... |
1000 REM * NAMING TAPE HEADERS
1010 REM * DAN TAYLOR, GCS SOFT. ENGR., JULY 1976
1020 PRINT " ** NAMING TAPE HEADERS **
"
1030 INIT
1040 DATA 0,0,0
1050 READ S1,S2,S3
1060 DATA 21,13,9
1070 READ J1,J2,J3
1080 J4=27+1-J1-2
1090 PRINT "
INSERT YOUR PROGRAM TAPE."
1100 PRINT "
START WITH TAPE FILE NUMBER =... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
ControlBox = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
KeyPreview = NotDefault
Sc... |
0 REM serial3 pio list
1 @L@IT
0 REM name
4 AIRsensorSDK
0 REM pio handler
6 P000000000001
0 REM set our interrupt points
20 GOTO 950;
30 GOTO 800;
0 REM @INIT
0 REM RS232_off set
950 A = pioout 11
951 A = pioset 11
0 REM RS232_on set
952 A = pioout 3
953 A = pioset 3
0 REM DTR output positive to power sensor
954 ... |
100 ' KILL sample
110 OPEN "DATA3.DAT" FOR OUTPUT AS #1
120 PRINT #1,"KILL statement test"
130 CLOSE
140 FILES:PRINT
150 KILL "DATA3.DAT"
160 FILES
170 END
|
// Игра "ПИТОН" для микрокомпьютера "Электроника-МК85"
1 VAC: Z = 3 : X = 9 : Y = 3 : W = 0 // Z - ДЛИННА ЗМЕЙКИ, МАКСИМУМ 9; X,Y НАЧАЛЬНЫЕ КООРДИНАТЫ ГОЛОВЫ; W - ВРЕМЕННАЯ ПЕРЕМЕННАЯ
2 FOR V=O TO Z*2-1 STEP 2 // РАСЧИТЫВАЮ КООРДИНАТЫ ЗМЕЙКИ В ЗАВИСИМОСТИ ОТ ДЛИННЫ - Z
3 A(V) = X - W
4 A(V+1) = 3
5 W = W + 1
6 NEX... |
DECLARE SUB DisplayScores (SammyPos%, JakePos%)
DECLARE SUB ScoreCenter (row%, text$)
DECLARE FUNCTION ScoreString$ (Score&)
' Nibbles Copyright (C) Microsoft Corporation 1990
' v 2.8 This version by Robert Munster (no copyright would
' be claimed for this voluntary work).
'Set default data type... |
1 ' IF cascade
2 CALL ip(1):CALL ip(2):CALL ip(3):END
10 PROC ip(a)
20 IF @a=1 THEN
30 PRINT "eins"
40 ELSE IF @a=2 THEN
50 PRINT "zwei"
60 ELSE
70 PRINT "viele"
80 ENDIF
90 RETURN
|
10 :REM'HCAL-D
20 COMMON EX$,X$
30 X$="D":EX$="\hamcalc\menu\hcal-"+X$
40 CHAIN"\hamcalc\menu\hcal-x"
|
DECLARE SUB testpattern (d%)
SCREEN 12
DO
k$ = INKEY$
IF k$ > "" THEN EXIT DO
testpattern INT(RND * 30 + 1)
SLEEP 2
LOOP
SCREEN 0: WIDTH 80, 25
SUB testpattern (d%)
DIM Lft AS INTEGER, Rgt AS INTEGER
DIM Top AS INTEGER, Bot AS INTEGER
Lft = 160: Rgt = 479: Top = 120: Bot = 360
DIM x(Lft T... |
10 :REM'ES2B - Electrically Shortened 2 Band Dipole - 09 JAN 2002
20 IF EX$=""THEN EX$="EXIT"
30 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
40 IF GO$="es2b"THEN GO$=EX$
50 PROG$="es2b"
60 COMMON EX$,PROG$,LD,UH,FQ,W
70 COMMON A,A1,B1,B,XT,C1,L1,L2,FH,FL,AMAX
80 CLS:KEY OFF
90 PI=3.1415929794311523!
100 UL$=STRING$(80,205)... |
Operation =1
Option =0
Begin InputTables
Name ="tbl_Events"
Name ="tbl_Rare_Bird_Obs"
End
Begin OutputColumns
Expression ="tbl_Events.Event_ID"
Alias ="N_rare_obs"
Expression ="Count(tbl_Rare_Bird_Obs.Rare_bird_obs_ID)"
End
Begin Joins
LeftTable ="tbl_Events"
RightTable ="tbl_Rare_Bird_Obs"... |
10 REM Derek Popowski, CSci365 Org. of Prog. Lang., Program 1b, derek.a.popowski@und.edu
20 DEfINT x
21 x = 1
30 PRINT x
40 x = x + 1
45 IF x = 101 THEN GOTO 1000
50 IF (x MOD 3) = 0 THEN GOTO 500
60 IF (x MOD 5) = 0 THEN GOTO 605
70 PRINT x;
80 PRINT ""
90 GOTO 40
500 PRINT "Fizz";
600 IF (x MOD 5) = 0 THEN ... |
10 DEF FNA = 25
20 DEF FNB = 500 + FNA
20 PRINT FNA
30 PRINT FNA + 5
40 PRINT 5 + FNA
50 PRINT FNB
60 END |
SUB PREDIC (DATQ(), NDATA, D(), NPOLES, FUTURE(), NFUT)
DIM REQ(NPOLES)
FOR J = 1 TO NPOLES
REQ(J) = DATQ(NDATA + 1 - J)
NEXT J
FOR J = 1 TO NFUT
DISCRP = 0!
SUM = DISCRP
FOR K = 1 TO NPOLES
SUM = SUM + D(K) * REQ(K)
NEXT K
FOR K = NPOLES TO 2 STEP -1
REQ(K) = REQ(K - 1)
NEXT K
REQ... |
CLS
LOCATE 12, 20
PRINT "Hello"
|
4 DIM a(80)
5 DIM b(22)
6 DIM c(80)
7 DIM d(80, 80)
8 RANDOMIZE TIMER
10 CLS
12 LOCATE 25
13 COLOR 10
14 PRINT TAB(59); "Autor: Mariusz Kepke"
20 LOCATE 10
21 x = x + 1: IF x > 15 THEN x = 1
23 COLOR x
25 PRINT TAB(28); "* * * * * * * * * * * * * * *"
26 PRINT TAB(28); "* *"
30 P... |
10 :REM'works Antenna Impedance Calculator - 19 MAR 08
20 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)
70 :REM'.....start
80 CLS
90 COLOR 15,2
100 PRINT " ANTENNA IMPEDANCE CALCULATOR"TAB(61)"by R.J.Dehoney IEEE ";
110 COLOR 1,0:PRINT STRING$(80,223... |
1 F=1
5 CLS
10 A = ABS(RND(1))/420 + 1
15 B = ABS(RND(1))/1365 + 1
16 F = F+1: IF F=16 THEN F=1
20 GOTOXY A,B
22 COLOR F,0
25 PRINT CHR$(219);
30 GOTO 10
|
CLS
PRINT 5 + 10
PRINT 6 - 5
PRINT 7 * 6
PRINT 10 / 2
PRINT 2 ^ 3
PRINT SQR(25)
PRINT ABS(-5)
PRINT 5 * 2 + 10
PRINT (5 * 2) + 10
PRINT 5 * (2 + 10)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.