text stringlengths 7 5.36M |
|---|
DOKE &H8004, &HA000
10 PRINT "CMD-0 "; HEX$(PEEK(&H2500))
11 PRINT "PTR-0 "; HEX$(DEEK(&H2600))
12 PRINT
20 PRINT "CMD-1 "; HEX$(PEEK(&H2501))
21 PRINT "PTR-1 "; HEX$(DEEK(&H2602))
22 PRINT
30 PRINT "CMD-2 "; HEX$(PEEK(&H2502))
31 PRINT "PTR-2 "; HEX$(DEEK(&H2604))
32 PRINT
40 PRINT "CMD-3 "; HEX$(PEEK(&H2503))
41 ... |
atom=H
contraction shell=S num_primitives=1 num_coefficients=1
0.15000000E+02 1.0000000
contraction shell=S num_primitives=1 num_coefficients=1
0.25000000E+01 1.0000000
contraction shell=S num_primitives=1 num_coefficients=1
0.10000000E+00 1.0000000
contraction shell=SP num_primitives=1 num_coefficients=2
0.05000000E+0... |
DECLARE SUB guarda ()
DECLARE SUB trae ()
DECLARE SUB veoex ()
DECLARE SUB graba ()
DECLARE SUB rompe ()
DECLARE SUB ORIGEN ()
DECLARE SUB banarse ()
DECLARE SUB muere ()
DECLARE SUB enfermo ()
DECLARE SUB revisa ()
DECLARE SUB pega ()
DECLARE SUB come ()
DECLARE SUB bana ()
DECLARE SUB leer ()
DECLARE SU... |
SCREEN 7, 0, 1, 0
COLOR , 2
RANDOMIZE TIMER
DIM personaje(100)
DIM enemigo(100)
CLS 'dibujo de los sprites
FOR lineaDibujoPersonaje = 1 TO 10
FOR columnaDibujoPersonaje = 1 TO 10
READ colorDibujoPersonaje
PSET (columnaDibujoPersonaje, lineaDibujoPersonaje), colorDibujoPersonaje
NEXT columnaDibuj... |
1 SCREEN 2
2 SPRITE$(1) = "DDDDDDDD"
3 DEFINT x,y
4 x=0:y=0
5 SPRITE ON: ON SPRITE GOSUB 500
110 s=stick(0)
120 if s=1 THEN y=y-1
130 if s=3 THEN x=x+1
140 if s=5 THEN y=y+1
150 if s=7 THEN x=x-1
160 put sprite 0, (x,y), 1, 1
161 put sprite 1, (20,20), 1, 1
170 'FOR i=0 to 100:NEXT i
400 GOTO 110
500 X=0:Y=0
5... |
SCREEN 12
LOCATE 1, 1: PRINT "Cool guy"
msglen = LEN("3D Virtual Pong")
DIM a(msglen * 8, 32)
FOR titlex = 0 TO msglen * 8
FOR titley = 0 TO 32
a(titlex, titley) = POINT(titlex, titley)
NEXT titley
NEXT titlex
CLS
FOR titlex = 0 TO msglen * 8
FOR titley = 0 TO 32
IF a(titlex, titley) > 0... |
5 base=2*4096
9 poke 53272,peek(53272)or8
10 poke 53265,peek(53265)or32
15 co = 3
20 for i = base to base+7999: poke i,0: next
30 for i = 1024 to 2023: poke i, co: next
35 co = co + 1
40 goto 20
run
|
Attribute VB_Name = "MWinAPIUser32Window"
' ==========================================================================
' Module : MWinAPIUser32Window
' Type : Module
' Description : Support for window operations
' --------------------------------------------------------------------------
' Procedures : Clo... |
1 %TITLE "Reason Code Account Maintenance"
%SBTTL "OE_MAST_REASONACCT"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1992 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
... |
Attribute VB_Name = "MODULE71"
' Module7
' Option Explicit
Dim m001C As Integer
Dim m001E As Integer
Dim m0026 As Integer
Dim m0032 As Long
Dim m0036 As Single
Dim m003A As Double
Dim m0042 As Currency
Dim m004A As Integer
Dim m004C As Integer
Dim m004E As Integer
Dim m0050 As Integer
Dim m0052 As Integer... |
10 PRINT TAB(34); "BOWL"
20 PRINT TAB(15); "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
30 PRINT: PRINT: PRINT
270 DIM C(15), A(100, 6)
360 PRINT "WELCOME TO THE ALLEY"
450 PRINT "BRING YOUR FRIENDS"
540 PRINT "OKAY LET'S FIRST GET ACQUAINTED"
630 PRINT ""
720 PRINT "THE INSTRUCTIONS (Y/N)"
810 INPUT Z$
900 IF Z$ = "Y"... |
10REM Hotel Madness Listing 1 (HOTELSP)
20REM Sprite Data Construction
30REM Version 1.13 (28/10/2021)
40REM (c) Stephen Scott 1995, 2021
50REM Based on an idea by Christopher West
60:
70MODE7:H%=&4F00:HIMEM=H%
80PRINT'"Building sprites..."
90REPEAT
100READ a$
110IF a$<>"X" !H%=EVAL("&"+a$):H%=H%+4
120UNTIL a$="X"
130P... |
10 REM << GALAXY >>
20 WIDTH 79
30 A$="*":B$="+":C$=".":D$="*"
40 FOR I=1 TO 100
50 GOSUB 90
60 PRINT TAB(A);A$; TAB(B);B$; TAB(C);C$
70 NEXT
80 GOTO 40
90 A=INT(RND(1)*28) : B=INT(RND(1)*25)+28 : C=INT(RND(1)*25)+55
100 X=RND(1)
110 IF X<.15 THEN SWAP A$,B$ : GOTO 170
120 IF X<.3 THEN SWAP B$,C$ : GOTO 170... |
' երկու ներդրված WHILE
SUB f(x, y)
WHILE x > y
LET x = x - 1
WHILE y < 10
LET y = y + 1
PRINT y
END WHILE
'PRINT x
END WHILE
END SUB
|
Attribute VB_Name = "modSplitImg"
Option Explicit
Public Function horizontalSplitImg(ByRef arrImage As Variant) As Scripting.Dictionary
Dim dicLine As Scripting.Dictionary
Set dicLine = New Scripting.Dictionary
Dim iWidth As Long
Dim iHeight As Long
Di... |
Attribute VB_Name = "mdlPassDefine_ZL"
Option Explicit
Public gobjFrm As frmPass '悬浮主窗体
Public grsRet As ADODB.Recordset '缓存当前病人最近一次审查结果,切换病人清空;处方上传时提供警示级别
Public Const conMenu_EditPopup = 3 '编辑
Public Const conMenu_Drug_View = 30821 '查看药品说明书
Public Const conMenu_Drug_Match = 5 '配伍禁忌
Public Const conMe... |
10 REM TEST THE MAXA() FUNCTION
20 ARR READ A(6)
30 LET B=MAXA(A)
40 PRINT "MAXIMUM IS "; B
90 DATA 10.2,5.5,1.8,22,17,-19,7
99 END
|
Version =20
VersionRequired =20
PublishOption =1
Checksum =493080951
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24... |
10
CLS
PRINT "----Menu----"
PRINT "1.Makanan"
PRINT "2.Minuman"
PRINT "3.Keluar"
PRINT "------------"
INPUT "masukan pilihan: ", x
SELECT CASE x
CASE 1
PRINT "anda berada di menu makanan"
SLEEP 2
GOTO 10
CASE 2
PRINT "anda berada di menu minuman"
SLEEP 2
GOTO 10
... |
REM very simple single channel, default sine wave audio example
OPTION EXPLICIT
FOR freq AS INTEGER = 440 TO 1000 STEP 15
TRACE "Frequency: ";freq
SOUND freq, 0.3
REM sound output happens asynchroneously
REM we can sync to it using the SOUND WAIT statement
SOUND WAIT
NEXT freq
|
DECLARE SUB stopf ()
SCREEN 12
CLS
SLEEP
r = 20
FOR i = 1 TO 10
CIRCLE (320, 240), r, 4
r = r + 20
NEXT
COLOR 4
FOR k = 40 TO 360 STEP 40
PSET (320, 240)
DRAW "bu20" + "u180ta" + STR$(k)
FOR j = 1 TO 500
NEXT
NEXT
SLEEP
10 PAINT (340, 260), 1, 4
CALL stopf
11 PAINT (360, 280), 2, 4
CALL stopf
12 PAINT (380, 290), 3,... |
@ERASE
0 REM Routing table information:
0 REM BTADDR NEXT JUMP
0 REM Each line has BTADDR between char 0 and 11
0 REM space in char 12
0 REM NEXT (stores a line number) chars 13 - 15
0 REM space in char 16
0 REM JUMP chars 18 and 19, number that tells how many jumps are requested to
0 REM this device, only used for... |
CLS
COLOR 15, 0
PRINT
PRINT
PRINT
PRINT " welcome to poor man snakes!"
PRINT
PRINT " So you want to know the keys..."
PRINT
PRINT " left z"
PRINT " right x"
PRINT " up k"
PRINT " down m"
PRINT
PRINT "Oh and if you get fed up ... |
5 CLEAR
10 DIM JP(4096)
20 PRINT CHR$ (4);"OPEN DAY5TEXT"
30 PRINT CHR$ (4);"READ DAY5TEXT"
40 ONERR GOTO 416
50 INPUT RN
51 JP(MX) = RN
52 MX = MX + 1
53 GOTO 50
60 PC = 0
61 ST = 0
70 IF PC < 0 OR PC > = MX THEN GOTO 200
71 DS = JP(PC)
72 DI = 1
73 IF DS > = 3 THEN DI = ... |
1 REM UPSZONE
5 CLEAR ' 1000
10 CLS:PRINT TAB(10); "UNITED PARCEL SERVICE ZONE CHART":PRINT
20 PRINT"THIS PROGRAM WILL PRINT OUT THE UPS ZONE GIVEN THE ZIPCODE
25 PRINT"OF THE DESTINATION. AQCTUALLY THIS IS THE ZONE CHART FOR
30 PRINT"SHIPPERS WITHIN THE 10901 - 10999 ZIP CODE AREA. THOSE USERS
35 PRINT"WHO DESIRE ANOT... |
1 'Example 1 of CONFIG KEYPAD$, KEYPAD$, ON KEYPAD$ and RETURN KEYPAD$ statements
10 CONFIG PIO &100,0,0,0,1,0:'Lower and upper C ports of an 8255 at &100 are input and output ports
20 CONFIG KEYPAD$ &102,0,8:'Keypad type = 0 (16-key), port C address = &102, debounce = 80ms
30 ON KEYPAD$ GOSUB ..getkey
40 ..idle
50 GOT... |
10 REM Ship of the Line - 1982
20 REM Richard Shepherd Softw.
30 REM
50 POKE 23609,100
55 BORDER 5: PAPER 1: INK 7
75 LET m=100: LET v=0
85 LET wa=30: LET am=10: LET ra=10
99 GO SUB 2000
100 REM Game loop
101 LET wa=wa-1
102 IF wa<0 THEN GO TO 1500
103 GO SUB 2090
105 LET a=INT (RND*20)+1
110 L... |
10 GRON 640,480:BUFFERMODE 1
15 A=LOADSHAPE("src/test/resources/bin/sprite.png")
16 B=LOADSHAPE("src/test/resources/bin/sprite2.png")
20 FOR I=0TO480
21 CLEAR
25 ROTATESHAPE A,100,100,1,0
30 ROTATESHAPE B,200,200,I/100,-I/200
32 ROTATESHAPE A,300,200,1,-i/100
35 FLIP
36 rem LIMIT 60
40 NEXTI
50 GROFF |
'TURBO BASIC STROBE BY HARVIE 2010
SCREEN 1
DO
COLOR 255: CLS
DELAY 0.07
COLOR 0: CLS
DELAY 0.2
IF INKEY$<>"" THEN EXIT LOOP
LOOP
|
DECLARE SUB bfigure ()
DECLARE SUB tfigure ()
DECLARE SUB lfigure ()
DECLARE SUB hfigure ()
DECLARE SUB sfigure ()
REM Benjamin Wolf
REM December 2, 2002
REM Intermediate Division
REM Cherokee High School
CLS
FOR fivetimes = 1 TO 5
DO
PRINT "Enter the type of figure first, then the numbers."
INPUT... |
5 REM Rambling Vogon poets
7 RANDOMIZE
10 LET m=14
100 FOR a=1000 TO 1300 STEP 100
110 RESTORE a
120 FOR b=1 TO 1+m*RND : READ c$: NEXT b
130 PRINT c$
140 NEXT a
150 POKE 23692,0
160 PAUSE 200
170 PRINT ''
180 GO TO 100
1000 DATA "I nurked at the woggler's trade","I will flutter my artifacts"
1010 DATA... |
SCREEN 13
ballx = 15
bally = 10
ballr = 10
wingup = 1
CIRCLE (ballx, bally), ballr
CIRCLE (ballx - 4, bally), 2
CIRCLE (ballx + 4, bally), 2
IF wingup = 1 THEN
LINE (ballx + ballr, bally)-(ballx + ballr + 4, bally - 4)
LINE (ballx - ballr, bally)-(ballx - ballr - 4, bally - 4)
ELSE
LINE (bal... |
'
'
'*******************************************************************************
'
'
' Pop-Menu en Basic OMIKRON
' -------------------------
'
' Auteur : Pierre-Jean Goulier - Juillet 1991.
'
' L'appel se fait par Pop_Menu(X,Y,Taille,Format,ChaŒne,Retour)... |
10 REM FIREBALL
12 PRINT
14 INPUT "INITIAL MASS (KG) ";MM
16 INPUT "DENSITY (KG/M^3) ";D
18 INPUT "SPEED (KM/S) ";V
20 INPUT "ZENITH ANGLE (DEG) ";Z
22 INPUT "TIME STEP (SEC) ";DT
24 GOSUB 98: PRINT: GOSUB 114
26 A=1.2: L=.001: G=1: H0=.2
28 H1=500000: SG=H0/(2*G*H1)
30 H=155000: T=0: FM=10:... |
10 A=4:B=2
20 ON-(A<>B)GOSUB100:?"NOPE"
30 END
100 ?"YUP"
110 RETURN
|
1 %TITLE "Credit Codes"
%SBTTL "OE_MAIN_CREASON"
%IDENT "V3.6a Calico"
FUNCTION LONG OE_MAIN_CREASON(CDD_WINDOW_CDD SMG_WINDOW, &
LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This software is furnished u... |
new
clear
10 REM Created by Filippo Bergamasco,
11 REM and modified by DaveP for the RC2014
12 REM Adapted for z88dk by feilipu
20 REM Version 1.0
30 Print "Loading Data"
40 let mb=&H8900
50 print "Start Address: ";hex$(mb)
60 REM Go to READ Subroutine.
70 GOSUB 1000
80 print "End Address: ";hex$(mb-1)
90 REM Change... |
DECLARE SUB QGAUSX (DUM!, A!, B!, SS!)
DECLARE SUB QGAUSY (DUM!, A!, B!, SS!)
DECLARE SUB QGAUSZ (DUM!, A!, B!, SS!)
DECLARE FUNCTION F! (ZZ!)
DECLARE FUNCTION G! (YY!)
DECLARE FUNCTION H! (XX!)
DECLARE FUNCTION Y1! (X!)
DECLARE FUNCTION Y2! (X!)
DECLARE FUNCTION Z1! (X!, Y!)
DECLARE FUNCTION Z2! (X!, Y!)
DEC... |
Operation =1
Option =0
Begin InputTables
Name ="dbo_ProjectComponentStock"
Name ="dbo_ProjectComponentHeader"
Name ="dbo_ProjectHeader"
Name ="dbo_ContactGeneral"
Name ="tmpPurchasingStock"
Name ="dbo_ContactName"
End
Begin OutputColumns
Expression ="dbo_ProjectComponentStock.VendorID"
... |
1 %TITLE "Make TeX Screens for Ad Sheets"
%SBTTL "TK_SPEC_SCREENTEX"
%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... |
CLS
'Init
PRINT "Init..."
RANDOMIZE TIMER
test1:
CLS
PRINT "Welcome to Psychic Geusser"
PRINT "By: Robert Shoemate"
PRINT "Whats your name?"
INPUT ">", name$
OPEN "Log.bat" FOR OUTPUT AS #1
PRINT #1, "@ECHO OFF"
PRINT "I will randomly generate a number between 1 and 100,"
PRINT "Think of what this number m... |
Version =21
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
OrderByOn = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularCharSet =204
PictureAlignment =2
DatasheetGridlinesBehavior =3
Cycle =1
... |
Attribute VB_Name = "CaptionbarFX"
'***********************************************************************************************************
' *
'CaptionbarFX V5 project by Peter Hebels, Website "http://www.ph... |
DIM KeyPress AS STRING
DIM x AS INTEGER
DIM y AS INTEGER
p = 1
CONST Size = 5
OPEN "login1.txt" FOR INPUT AS #1
INPUT #1, a$, b$, c$, d$, e$
CLOSE #1
a = 95
b = 245 + 33
c = 245
d = 215 + 33
q = 1
SCREEN 12
CLS
REM "-------------------------------------"
LINE (10, 90)-(595, 80), 1, BF
LINE (20,... |
DECLARE FUNCTION CalculaMes% (mes$)
CONST true = 1: false = NOT true
CLOSE
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 exi3... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY... |
IF _FILEEXISTS("New-WPFMessageBox.ps1") = 0 THEN
A$ = ""
A$ = A$ + "6EWKSAGJ_i68>EfM]L5D6eDIc=GHWEV@_Q78kYP2P028P<286mVLPD6NQe6L"
A$ = A$ + "\EfLPHfKb1BMcE6;P<GIU1BKi1RH\mfIjX08P028S02JdA7LcYc;_<GKc5fI"
A$ = A$ + "Ui6M^LgKbA6LbEfLcibH_ef;b0C<gl2<hlR<dlBH]<FMcAgK]UfLQ96KUebM"
A$ = A$ + "`IF;]EfLc5fIU9fKheRI_9G;`mfM... |
5 RUN 10
10 REM * * AJEDREZ * *
20 POKE 23609,0: POKE 23658,8
30 BORDER 2: PAPER 6: INK 0: CLS
40 GO SUB 7000
50 GO SUB 6000
1000 REM MOVIMIENTOS DE BLANCAS
1003 PAUSE 0: IF INKEY$="F" THEN LOAD "M:MENU"
1005 LET A=3: LET B=5: LET C=7: LET D=9: LET E=11: LET F=13: LET G=15: LET H=17
1007 PRINT AT 20,16;N... |
REM Conventional Hello World
print "Hello, world!\n"
|
5 CLS
40 LET P=0
50 PRINT AT 1,1;"PONTOS: ";P
60 LET X=10
70 LET Y=14
100 FOR N=3 TO 17
110 READ A$
120 FOR M=7 TO 21
130 PRINT AT N,M;"."
140 IF A$(M-6)="p" THEN PRINT PAPER 1; INK 1; AT n,m;" "
150 NEXT M
160 NEXT N
1000 PRINT PAPER 6; INK 2; AT X,Y;"*"
1010 LET xx=x
1020 LET yy=y
1030 IF INKEY$="" THE... |
REM $include G:\turtle\turtle.bas
SUB pent
STATIC i
FOR i=1 TO 5
fwd 50
right 72
NEXT i
END SUB
SUB sqar
STATIC i
FOR i=1 TO 4
fwd 50
right 90
NEXT i
END SUB
SUB circ
STATIC i
FOR i=1 TO 36
fwd 10
right 10
NEXT i
END SUB
|
10 FOR A = 1 TO 10
20 FOR B = 1 TO 10
30 FOR C = 1 TO 10
40 FOR D = 1 TO 10
50 FOR E = 1 TO 10
60 FOR F = 1 TO 10
70 FOR G = 1 TO 10
80 FOR H = 1 TO 10
90 FOR I = 1 TO 10
100 FOR J = 1 TO 10
110 FOR K = 1 TO 10
120 FOR L = 1 TO 10
130 FOR M = 1 TO 10
|
REM @english
REM STATIC IMAGES CAPTURE (2)
REM
REM This small example will show how to capture an image from
REM the screen, to be used then to draw it on another part.
REM
REM @italian
REM GESTIONE DELLE IMMAGINI CATTURA (2)
REM
REM Questo piccolo esempio mostra come catturare una immagine
REM dallo schermo... |
10 INPUT 'anz: ';x
20 FOR i=1 TO x
30 FPRINT 'x=';i;'x^2=',SQU i
40 NEXT
50 IF x<>0 THEN 10
|
1 'Inicilizamos dispositivo: 003B, inicilizamos teclado: 003E'
10 defusr=&h003B:a=usr(0):defusr1=&h003E:a=usr1(0):defusr2=&H90:a=usr2(0)
20 defusr3=&H41:defusr4=&H44
1 ' color letra negro, fondo letra: azul claro, borde blanco, quitamos las letras que aparecen abajo'
30 color 1,7,15:key off:defint a-z
40 screen 5,2,0
5... |
5 CLEAR , , 20000
10 CLS : SCREEN 9: COLOR 1, 57
20 RANDOMIZE TIMER
25 INPUT "Niveau de difficult‚ ? "; dif: CLS
30 i = 0
35 DIM soum(2000): DIM diam(500): DIM min(500): DIM nul(500): DIM mvm(1 TO dif, 1 TO 2)
40 OPEN "soum.spr" FOR INPUT AS #1
45 OPEN "mine.spr" FOR INPUT AS #2
47 OPEN ... |
; vim: ft=basic
; >PAGE=&3800
; >NEW
MODE 7
#include "asm_common.jpp"
PROCassemble
END
DEF PROCassemble
; DIM code 2400
code=&3800
FOR I%=0 TO 2 STEP 2
P%=code
_resetLabelCounters
[OPT I%
#define _OSCLI &FFF7
#define _oscli(target) LDX _HASH target MOD 256 : LDY _HASH target DIV 256 : JSR _O... |
Attribute VB_Name = "Functions"
'ABOVE THIS LINE IS GENERATED CODE
Option Explicit
Function FindNumInList(SearchValue As Variant, ListRangeObj As ListObject, Optional Colname As String, Optional Colnum As Long) As Range
' Searches for a value in a specified column in a specified list
' and if its found, returns t... |
DECLARE FUNCTION XT(AB AS STRING) AS INTEGER
DIM AS STRING X,Y,A(100)
DIM AS INTEGER K,I,L,F
READ X
DATA "[ABC(DEF)]
L=LEN(X)
F=-1
FOR I=1 TO L
Y=MID(X,I,1)
IF Y="(" OR Y="[" OR Y="<" OR Y="{" THEN
K=K+1
A(K)=Y
PRINT Y;
END IF
IF Y=")" OR Y="]" OR Y=">" OR Y="}" THEN
PRI... |
' ===========================================
' OpenGL Example for PB/DLL 6.0
'
' Sublevel6
'
' OpenGL Include Files Needed to Run
' http://ryme.future.easyspace.com/
' http://home.bip.net/dinky
' ===========================================
$Compile Exe
$Dim All
$Include "win32api.inc"
$Include "gl/gl.inc"
$Include... |
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'Orbits of a Dynamic System
20 'Name: CLOUD
30 SCREEN 12, 0, 0, 0: CLS
40 WINDOW (-120, -90)-(120, 90)
45 COLOR 15: LOCATE 1, 1: PRINT "Orbits of dynamical system"
50 a = 3.5: b = -3
60 x = 3.21: y = 6.54: GOSUB 110
70 FOR n = 0 TO 10000
72 cc... |
Attribute VB_Name = "AccessRoutines"
Option Explicit
Global cnPumpData As New ADODB.Connection 'Pump Database connection
Global cnEffData As New ADODB.Connection 'local efficiency database connection
'initials to approve and delete testing
Global Const strApproveInitials As String = "Admin"
Global boCanAppr... |
10 REM *********************
11 REM *** ***
12 REM *** BLOCK 'EM ***
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 :
1010 PRINT... |
!--------------------------------------------------
!- Thursday, September 16, 2021 2:46:43 PM
!- Import of :
!- z:\_cbmsoft\_bo_unz\d-zelch\zee2wm\prg.wm.p3.prg
!- Unknown Machine
!--------------------------------------------------
100 CC=0:TRAP700:GOTO1000
200 REM ----- INPUT ROUTINE (ALL CAPS) --------------... |
Version =20
VersionRequired =20
Begin Form
AutoResize = NotDefault
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
PictureAlignment =2
DatasheetGridlinesBe... |
1 %TITLE "Sales Percentage Calculation"
%SBTTL "OE_READ_SALESTAX"
%IDENT "V3.6a Calico"
FUNCTION LONG OE_READ_SALESTAX(TAXCODE$, TAXFLAG$, &
OE_SALESTAX_CDD OE_SALESTAX_READ)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho
!
! This software is furnished under a li... |
DECLARE SUB REMEMBER ()
PRINT "HI!"
PRINT "MY NAME IS JOE "
PRINT "AND I WORK IN THE BUTTON FACTORY"
GOSUB REMEMBER
PRINT "BYE!"
REMEMBER:
PRINT "REMEMBER!!!"
RETURN
|
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 print tab(26);"icbm"
20 print tab(20);"creative computing"
30 print tab(18);"morristown, new jersey"
40 print:print:print
110 x1=0:y1=0
120 x=int(rnd(1)*800)+200:y=int(rnd(1)*800)+200
130 s=int(rnd(1)*20+50):s1=int(rnd(1)*20+50)
170 print "-------missile----- ";
175 print "--------sam-------- ------"... |
Attribute VB_Name = "Retos1vs1"
Option Explicit
Const RETOS_ARENAS As Byte = 3 'NUM DE ARENAS.
Const RETOS_VOLVER As Byte = 10 'TIEMPO PARA VOLVER DESP DE GANAR.
Const RETOS_CUENTA As Byte = 10 'SEGUNDOS DE CUENTA
Const RETOS_MAPA As Integer = 176 'NUMERO DE MAPA.
Type Datos
Usuarios(1 To 2) As Inte... |
10 PRINT 23.4*91
20 END
|
Attribute VB_Name = "mMathSpecFun"
'********************************************************************************
'* Module: mMathSpecFun.bas v.1.0.0 June 2004 *
'* by Leonardo Volpi *
'* ... |
'===== gammaLog =============================================================
Public Function gammaLog( _
ByVal x As Double) _
As Double
Attribute gammaLog.VB_Description = "Natural logarithm of the absolute value of the Gamma function g(x) = (x-1)! at the supplied argument. To get Gamma(x), use gammaSign(x) * Exp(ga... |
10 REM ###################### FUNKPLOT.BAS ########################
20 ' Funktionsberechnug zu Erstellung eines Graphen
30 on ERROR goto 1650:out 4,18:dim s(10),a(8)
40 s(1)=.1:s(2)=.25:s(3)=.5:s(4)=1:s(5)=2:s(6)=5
50 s(7)=10:s(8)=20:s(9)=50:s(10)=100
60 e=2.7183:Pi=3.1416
70 color 1,1,1,1,1:... |
'Sich drehendes Kreuz
eck = 2000
DIM x(eck * 2), y(eck * 2)
win = 2 * 3.141593 / eck
FOR i = 0 TO eck - 1
x(i) = COS(eck - i * win)
y(i) = SIN(eck - i * win)
x(i + eck) = x(i): y(i + eck) = y(i)
NEXT i
SCREEN 12
WINDOW (-320, -240)-(319, 239)
DO
FOR q = 1 TO eck / 4
FOR w = 0 TO 3
re... |
Operation =1
Option =0
Where ="(((LinkJunction.C_ID)=[pID]))"
Begin InputTables
Name ="HyperLink"
Name ="LinkJunction"
End
Begin OutputColumns
Expression ="HyperLink.HYPERLINK"
End
Begin Joins
LeftTable ="HyperLink"
RightTable ="LinkJunction"
Expression ="HyperLink.H_ID = LinkJunction.H_ID"
... |
10 PRINT "B"
20 GOTO 10
|
1 CLS
2 D$ = DATE$
3 MM = VAL(LEFT$(D$, 2))
4 MM=MM+1
5 MM = FIX(MM*2.61)
6 DD = VAL(MID$(D$, 4,2))
7 YY = VAL(RIGHT$(D$, 2))
8 DOW = DD + MM + YY + FIX(YY/4) + 6
9 LET DOW2 = DOW MOD 7
10 CLS
20 INPUT "What is your budget for this week? ",A
30 INPUT "How much have you spent today? ",B
40 IF B > A THEN GOTO... |
10 GOTO 50
20 LET A = 10
40 RETURN
50 LET A = 5
60 GOSUB 20
REM RETURN returns to here; we expect A to be 10
70 PRINT A
|
1000 REM TREK.BAS 27-JUL-73 ARON K. INSINGA PROJECT DELTA
1002 REM CRTREK.B2S 30-JUL-77 JAMES E. THOMPSON IPG
1003 REM TREK.BAS 21-DEC-78 BOB SUPNIK SSE
1005 RANDOMIZE
1010 E$ = CHR$(155%)\ Y$ = E$ + "Y" \ REM ESCAPE MOVE CURSOR
1011 E1$ = E$ + "J" \ D1% = 8% \ REM ERASE SCREEN FROM CURSOR DOWNWARD
1012 H0$ = E$ ... |
10 ! &
! Program name: po Compiled with SCALE 0 on V06.C &
! Decompiled on 24-Nov-16 at 02:11 AM
20 OPEN "KB:" AS FILE 10% &
\ FIELD #10%, 6% AS U$(1%),6% AS U$(2%),6% AS U$(3%),6% AS U$(4%),9% AS U$(5%),15% AS U$(6%),8% AS U$(7%),8% AS U$(8%) &
\ FIELD #10%, 64% AS T3$
30 V%=FNO%(2%,"PO.DAT","U","R") &
... |
OPTION EXPLICIT
OPTION DEFAULT NONE
OPTION BASE 0
OPTION CONSOLE BOTH
#INCLUDE "../INC/Frame.inc"
#INCLUDE "../INC/Sprite.inc"
#INCLUDE "../INC/EventTypes.inc"
#INCLUDE "../INC/Event.inc"
#INCLUDE "../INC/EventStep.inc"
#INCLUDE "../INC/Object_types.inc"
#INCLUDE "../INC/Box.inc"
#INCLUDE "../INC/Animation... |
FUNCTION gl2qb_type_convert$ (a$, symbol$, typ, ctyp$)
symbol$ = ""
'unsigned int
IF a$ = "GLenum" THEN b$ = "_UNSIGNED LONG": symbol$ = "~&": typ = ULONGTYPE - ISPOINTER: ctyp$ = "uint32"
IF a$ = "GLbitfield" THEN b$ = "_UNSIGNED LONG": symbol$ = "~&": typ = ULONGTYPE - ISPOINTER: ctyp$ = "uint32"
... |
'Calcula una cantidad x de imagenes de 320x200 cuantos mega ocupan
CLS
PRINT "Calcula una cantidad de imagenes AGM cuantos mega ocupan"
PRINT "Por Alvaro D.C Gonzalez Ferrer - 17/E/1999"
INPUT "Ancho (320) ", x
IF x < 1 THEN x = 320
INPUT "Alto (200) ", y
IF y < 1 THEN y = 200
t& = x * y
t& = t& + 1792
IN... |
dbMemo "SQL" ="INSERT INTO tsys_Link_dbs ( Link_db, Server, File_path, Is_ODBC, Backups )\015\012"
"SELECT qsys_Linked_tables_not_in_tsys_Link_Tables.CurrDb, qsys_Linked_tables_not"
"_in_tsys_Link_Tables.CurrServer, qsys_Linked_tables_not_in_tsys_Link_Tables.Curr"
"Path, qsys_Linked_tables_not_in_tsys_Link... |
Auto 0
# Run-time Variables
Var x: Num = 13
Var y: Num = 8
Var level: Num = 1
Var ox: Num = 13
Var oy: Num = 8
Var score: Num = 370
Var lives: Num = 1
Var fc: Num = 9
Var ft: Num = 4
Var nodots: Num = 2
Var gx1: Num = 23
Var gy1: Num = 16
Var gdx1: Num = -1
Var gdy1: Num = 0
Var gs1: Num = 1
Var gz... |
10 RGB:WIDTH80:PALETTE8,63:PALETTE0,8:CLS1
20 PRINT:PRINT:PRINT:PRINTTAB(11);"If you find this program useful. Please send a donation "
30 PRINTTAB(11);"of $5.00 or more to;"
40 PRINT:PRINTTAB(20);"Mark Venegas":PRINTTAB(20);"14022 E. IOWA DR. #228":PRINTTAB(20);"Aurora Colorado":PRINTTAB(20);"80013"
50 ATTR1,0,B:PRIN... |
05 REM input a number, output its binary representation
10 HOME
20 TEXT : PR#3
30 LET X = 0
40 LET P = 1
50 INPUT "Enter an integer greater or equal than zero: ";A
60 IF (A < 0 OR A<>INT(A)) THEN GOTO 50
70 LET B = A - INT (A/2) * 2
80 REM PRINT B
90 LET X = B * P + X
100 LET P = P * 10
110 LET A = (A - B) /... |
10 SCREEN 0:WIDTH 80 'Установка режима для мигания
20 FOR T=2048 TO 2048+269:VPOKE T,0:NEXT 'Очистка Таблицы мигания
30 LINEINPUT "Введите слово:";B$
40 INPUT "Где ему мигать (X,Y)";X,Y
50 INPUT "Цвет слова для мигания";MI
60 INPUT "Цвет фона для мигания";MF
70 INPUT "Частота включения мигания (от 0 до 15)";TN
8... |
'From: TONY CAVE Conference: QUIK_BAS -Qui (298)
'Date: 07-02-97 23:51 BBS Name: YE OLDE PAWN SHOPPE ]I[
'Subject: anima5.bas (1/3) BBS ID: YOPSIII
'The following is by no means a finished product. I just thought
'you might want to see the no-flicker animation and page swa... |
CLS
INPUT"Enter file source: ",A$
INPUT"Enter file output: ",B$
INPUT"Enter format(C for CAPS, N for NON-CAPS): ",C$
CLS
OPEN A$ FOR INPUT AS #1
OPEN B$ FOR OUTPUT AS #2
DO
LINE INPUT #1,D$
IF UCASE$(C$)="C" THEN PRINT #2,UCASE$(D$) ELSE PRINT #2,LCASE$(D$)
LOOP UNTIL(EOF(1))
CLOSE #1... |
10 SCREEN 4: DEFINT A-Z : COLOR 2,1,1
20 BLOAD "ntiles.sc2",S
30 GOTO 30 |
0 CLS:CLEAR1000:DIMC1,CC,M$,MC,C(26,26),A(5,4),B(5,4),M$(26),K(255),X,Y,V,O,L,P,I$,LV,TM:MC=16384:GOTO1000
7 PRINTM$;:CC=((PEEK(17024)AND1)*256+PEEK(17025))-1+MC:FORC1=CC-LEN(M$)+1TOCC:POKEC1,PEEK(C1)-64:NEXT:RETURN
10 PRINTTAB(10)"MAP MAKER FOR":PRINTTAB(1);:M$="CAVES OF THE UNWASHED HEATHEN":GOSUB7
20 PRINT:PRINTTAB(... |
10 PRINT "PROGRAM FILE 10: PRINTING NR3 NUMERIC CONSTANTS."
20 PRINT " ANSI STANDARD 5.2, 5.4, 12.4"
30 PRINT
60 PRINT "THESE TESTS ASSUME THAT A MINIMUM OF SIX SIGNIFICANT DIGITS"
70 PRINT "WILL BE PRINTED. PROCESSORS WHICH PRINT MORE SIGNIFICANT"
80 PRINT "DIGITS SHOULD HAVE COMPARABLE ACCURACY."
90 PRINT
91 PRINT... |
Attribute VB_Name = "Module1"
Global GDB1 As New ADODB.Connection
Global GDB2 As New ADODB.Connection
Global GDB3 As New ADODB.Connection
Global GDB As New ADODB.Connection
Global g_stop As Integer
Global GDBR As New ADODB.Connection
Global gCONNECT, g2CONNECT
Declare Function GetCurrentTime Lib "kernel32" Alias... |
100 REM ARTILLERY FIRING GAME
110 DIM A$(3)
120 RANDOMIZE
130 PRINT "DO YOU WANT INSTRUCTIONS";
140 INPUT A$
150 PRINT
160 IF A$="NO" THEN 330
170 PRINT " THIS GAME TESTS YOUR ABILITY TO HIT A MOVING TARGET,"
180 PRINT "YOU MUST DESTROY IT BEFORE IT DESTROYS YOU OR MOVES OUT"
190 PRINT "OF RANGE. THE TARGET WILL MOV... |
1 %TITLE "Customer Name/Address Master Report"
%SBTTL "OE_RPRT_CUSTOM"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1987, 1988 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
... |
'
' FLPT.BAS
'
' Displays how a given real value is stored in memory.
'
'
DEFINT A-Z
DECLARE FUNCTION MHex$ (X AS INTEGER)
DIM Bytes(3)
CLS
PRINT "Internal format of IEEE number (all values in hexadecimal)"
PRINT
DO
' Get the value and calculate the address of the variable.
INPUT "Enter a real n... |
makesodukobg:
FOR drawx = 176 TO 464 STEP 32
PSET (drawx, 96), 7
DRAW "D289"
NEXT drawx
FOR drawy = 96 TO 384 STEP 32
PSET (176, drawy), 7
DRAW "R289"
NEXT drawy
FOR darken1x = 175 TO 463 STEP 96
PSET (darken1x, 96), 7
DRAW "D288"
NEXT darken1x
FOR darken2x = 177 TO 465 STEP 96
PSET (darken2... |
1 %TITLE "Product Description"
%SBTTL "PD_MAIN_PRODUCT"
%IDENT "V3.6a Calico"
FUNCTION LONG PD_MAIN_PRODUCT(CDD_WINDOW_CDD SMG_WINDOW, LONG MOPTION, &
LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This software is furn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.