text stringlengths 7 5.36M |
|---|
Redondeo:
B = x * 100
B1 = x * 10000
VALOR = INT(B)
Redondeo = INT(B1)
REDONDEO1 = INT(B) * 100
DIFE = Redondeo - REDONDEO1
IF DIFE >= 50 THEN VALOR = VALOR + 1
x = VALOR / 100
RETURN
|
C:\DACHS.BAS
C:\CONFIG.SYS
C:\JOISTIC.BAS
C:\AUTOEXEC.SET
C:\AUTOEXEC.BAT
C:\AUTOEXEC.000
C:\CHKLIST.MS
C:\COMMAND.COM
C:\CONFIG.000
C:\CONFIG.OLD
C:\WINA20.386
C:\CONFIG.GSC
C:\AUTOEXEC.GSC
C:\F.GIF
C:\CONFIG.001
C:\TEMPORIX.XXX
C:\CITY.BAS
C:\MIN-C.$HS
C:\PROG.TEC
C:\RY.BAS
C:\AUTOEXEC.001
C:\EDP... |
SUB EIGSRT (D(), V(), N, NP)
FOR I = 1 TO N - 1
K = I
P = D(I)
FOR J = I + 1 TO N
IF D(J) >= P THEN
K = J
P = D(J)
END IF
NEXT J
IF K <> I THEN
D(K) = D(I)
D(I) = P
FOR J = 1 TO N
P = V(J, I)
V(J, I) = V(J, K)
V(J, K) = P
NEXT J
END IF
... |
CLS
SCREEN 13
A = 150
B = 70
VIEW (0, 0)-(300, 170), 185
5 LINE (0, 0)-(300, 170), 185, BF
LINE (0, 75)-(50, 0), 0, B
LINE (50, 75)-(75, 100), 0
LINE (75, 100)-(180, 0), 0, B
LINE (180, 75)-(300, 75), 0
LINE (0, 0)-(300, 170), 0, B
LINE (110, 100)-(145, 50), 0, B
LINE (111, 100)-(144, 100), 185
LINE (1... |
REM General form of epistemic hazard map
REM Programming elements included here were developed in background research
REM for Patrick Grim, Gary Mar and Paul St. Denis, THE PHILOSOPHICAL COMPUTER:
REM EXPLORATORY ESSAYS IN PHILOSOPHICAL COMPUTER MODELING, Bradford Books/
REM MIT Press. You are free to use and adapt t... |
10 'PROGRAM 5 for CHAPTER 1 (SPACESHIP)
20 'Drawing a simple shape with the LINE command
100 '============================================
110 KEY OFF : SCREEN 2 : CLS
120 LINE (250,180) - (250,50)
130 LINE - (320,20)
140 LINE - (390,50)
150 LINE - (390,180)
160 LINE (390,120) - (470,180)
170 LINE - (170,180)
... |
10 REM TEST PROGRAM
20 LET F = 0
30 FOR I = 1 TO 4
40 PRINT I
50 GOTO 90
60 LET F = 1
70 FOR I = 10 TO 14
80 PRINT I
90 NEXT I
100 IF F = 0 THEN 60
900 END
|
10 '***WWWWWWWWWWWWWWWWWWWWWWWWWWWW***
20 '** **
30 'V DRAW PICTURES INTERATIVE III V
40 'V V
50 'V LONGO SANTANA SOFTWARE V
60 'V V
70 'V CRICKET BY OSVALDO SANTANA NETOV
80... |
100 REM Program to demonstrate the POINT function in
110 REM high-resolution mode.
120 SCREEN 2:KEY OFF:CLS 'Set hi-res screen
130 REM Draw vertical line
140 FOR I=50 TO 150
150 PSET(300,I)
160 NEXT I
170 REM Starting in column 50, draw a line to the right
180 REM until it hits the first line
190 ... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
TabularFamily =0
... |
Attribute VB_Name = "GestioneBruciatore"
Option Explicit
Public OraStopPredosatori As Long
Public OraStartPredosatori As Long
Public OraStopPredosatoriRic As Long
Public OraStartPredosatoriRic As Long
Public TemperaturaLavoroFiltroOK As Boolean
Public MinTempEssicatore As Long
Public MaxTempEssicatore As Long... |
GOTO POKR
POKR :
SCREEN 8 : CLS
COLOR 14,1
RESTORE BARVY
BARVY :
DATA 8,7,15,15,7,8
FOR A=1 TO 6
READ C
LINE (A,A)-(640-A,A),C
LINE (A,106-A)-(640-A,106-A),C
LINE (A,A)-(A,106-A),C
LINE (640-A,A)-(640-A,106-A),C
LINE (A,110+A)-(640-A,110+A),C
LINE (A,200-A)-(640-A,200-A),... |
'------------------------------BASIC RPG--------------------------
'---Written by Pablo Soifer---
'---youtube.com/draculinio---
'---Twitter:@PabloSoifer1
'----------------------------ESTRUCTURAS---------------------------------------------
TYPE wearable
nombre AS STRING * 20
ataque AS INTEGER
defensa AS I... |
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
|
1 REM
2 REM INTRODUCTION TO COMPUTER PROGRAMMING BASIC FOR BEGINNERS
3 REM BY USBORNE BOOKS
4 REM https://usborne.com/browse-books/features/computer-and-coding-books/
5 REM
10 FOR J=1 TO 6
20 PRINT "HELLO"
30 NEXT J
40 END
|
SCREEN 12
SLEEP 3
CLS
LET x1 = 100
LET y1 = 110
LET x2 = 120
LET y2 = 130
xinterval = 1
yinterval = 1
paddle1 = 285
paddle2 = 355
LINE (paddle1, 470)-(paddle2, 480), 12, BF
DO
LOCATE 1, 1: PRINT "Score:"; score; " "
LINE (paddle1, 470)-(paddle2, 480), 12, BF
LINE (x1, y1)-(x2, y2), 0, BF
LET x1 = x1 + xinterval... |
dbMemo "SQL" ="SELECT tbl_Locations.Unit_Code, Year([Start_Date]) AS Visit_Year, tbl_Locations."
"Plot_ID, tbl_Infestation.Master_Code\015\012FROM tbl_Locations LEFT JOIN (tbl_In"
"festation_Events LEFT JOIN tbl_Infestation ON tbl_Infestation_Events.Infest_Even"
"t_ID = tbl_Infestation.Infest_Event_ID) ON ... |
100 REM **LETS DO SPRITES, LESSON 5, HORIZONTAL VERTICAL FLIP
110 REM
120 REM **** SETUP SCREEN ****
130 SCREEN $80 : REM 320x200@256C
140 X = 160-8 : Y = 100-8
150 REM
160 REM **SPRITE ATTRIBUTES ALSO ALLOW THE PROGRAMMER TO FLIP THE SPRITE
170 REM **VERTICALLY AND HORIZONTALLY
180 REM **WE CAN CREATE A SPINNE... |
00 '{"game": "Flashback", "author": "Jesús Pérez Sicilia", "epoch": 2, "issue": 64}
10 REM -----------------------------------------------------------
20 REM Cargador de FLASHBACK JESUS PEREZ SICILIA CORDOBA '93
30 REM -----------------------------------------------------------
40 REM
50 N$="CFLASH": NB=100:... |
10 PRINT "PROGRAM FILE 129: EXCEPTION - OVERFLOW ON VALUE OF"
15 PRINT " TAN FUNCTION."
20 PRINT " ANSI STANDARD 8.5"
30 PRINT
40 PRINT "SECTION 129.1: EXCEPTION - OVERFLOW ON VALUE OF"
50 PRINT " TAN FUNCTION."
60 PRINT
70 PRINT "THE OBJECT OF THIS TEST IS TO SEE WHETHER THE PROCESSOR"
80 PRINT "RECOG... |
Attribute VB_Name = "clientMain"
Option Explicit
Public Const LOCALE_SSHORTDATE = &H1F
Public Declare Function GetSystemDefaultLCID _
Lib "kernel32" () As Long
Public Declare Function SetLocaleInfo _
Lib "kernel32" _
Alias "SetLocaleInfoA" (ByVal Locale As Long, _
... |
10 poke 52,48:poke 56,48:clr
20 poke 56334,0:poke 1,35
30 for z=0 to 1024:poke 12288+z,peek(53248+z):next z
40 poke 1,39:poke 56334,1
50 for z=0 to 143:read x:poke 13312+z,x:next z
52 for z=760 to 983:read x:poke 13312+z,x:next z
55 c$=chr$(13):poke 53272,28:poke 53281,0:poke 53280,6
60 print"{clear}":for z=1 to 30:x=i... |
0 ST$ = "S6,D1,V254"
1 POKE 232,0: POKE 233,64: REM SHAPE ADDR
2 SCALE= 1: ROT= 0
3 REM PICTURE WILL BE STORED AT 0X4C00
4 REM WE ALSO USE A FEW BYTES AT 0X300
5 PRINT: PRINT CHR$ (4);"BLOAD SDP.INTRP,A$4B00,";ST$: REM INTERPRETER
6 PRINT CHR$ (4);"BLOAD D0,A$4000,";ST$: REM SHAPES
10 HGR
30 NS = 1: ... |
IF usercommand$(runcommands) = "say" OR usercommand$(runcommands) = "read" THEN
saveclip$ = _CLIPBOARD$
_SCREENPRINT CHR$(3)
speechoutput$ = _CLIPBOARD$
speechprint$ = speechoutput$
GOSUB textprint
GOSUB speechoutput
_CLIPBOARD$ = saveclip$
usercommands = -1
END IF
|
1 %TITLE "Maintain Operations Table"
%SBTTL "PR_MAST_OPER"
%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
! the... |
atom=H
contraction shell=S num_primitives=1 num_coefficients=1
0.00589 1.0000
contraction shell=P num_primitives=1 num_coefficients=1
0.0225 1.0000
contraction shell=D num_primitives=1 num_coefficients=1
0.0494 1.0000
contraction shell=F num_primitives=1 num_coefficients=1
0.0858 1.0000
contraction shell=G num_primitiv... |
1 %TITLE "Order Register Close/Purge"
%SBTTL "WP_SPEC_PURGE"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1990 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 inc... |
DECLARE SUB FUNCS (X!, AFUNC!(), MA!)
DECLARE SUB GAUSSJ (A!(), N!, NP!, B!(), M!, MP!)
DECLARE SUB COVSRT (COVAR!(), NCVM!, MA!, LISTA!(), MFIT!)
SUB LFIT (X(), Y(), SIG(), NDATA, A(), MA, LISTA(), MFIT, COVAR(), NCVM, CHISQ, DUM)
DIM BETA(MA, 1), AFUNC(MA)
KK = MFIT + 1
FOR J = 1 TO MA
IHIT = 0
FOR K = ... |
DIM A AS INTEGER
DIM B AS INTEGER
PRINT "WHATS YOUR NUMBER?"
PRINT "HOW OLD ARE YOU?"
INPUT B, A
REM "AGE OF TINY BASIC"
20 DIM T AS SINGLE
LET T = 2021 - 1975
GOSUB 200
190 PRINT "BEFORE SUBPROC"
200 PRINT "IN THE SUBPROC"
210 IF A > T THEN PRINT "YOU ARE OLDER THAN ME"
220 IF A<T THEN PRINT "YOU ARE YOUNGER THAN ME"... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =6462
DatasheetFontHeight =11
ItemSuffix =14
Right =25080
Bottom =12120
DatasheetGridlin... |
' ===========================================
' 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... |
'
' Project: rbLiteAdmin (http://www.staddle.net)
' Version: 1.8.10
' Summary: Run BASIC-based admin tool to manage SQLite databases on the web
'
' Based On: phpLiteAdmin (http://phpliteadmin.googlecode.com)
'
' Orginal Developers:
' Dane Iracleous (daneiracleous@gmail.com)
' Ian Aldrighetti (ian.aldrighet... |
\******************************************************************************
\******************************************************************************
\***
\*** $Workfile: STKCFFUN.bas $
\***
\*** $Revision: 1.3 $
\***
\******************************************************************************
\*... |
'Purpose:
' a. Analyze ingredient information provided by supplier
' b. Ensure the ingredients will be able to save on the Walgreens website.
Sub moveSKUs()
Dim MainSheet as Worksheet, MatchSheet as Worksheet, ActiveIngredientSheet As Worksheet
Dim activeIngredientString As String, inactiveIngredientStrin... |
splashscreen
rem TITLE SCREEN
rem PRESS PLAYER 0 FIRE TO START
rem set score color to black
scorecolor = 0
COLUPF = $1E
playfield:
................................
..X.X.XXX..XX..XX...............
..XXX.X...X..X.X.X..............
..X.X.XXX.XXXX.X..X.............
..X.X.X...X..X.X.X............ |
Operation =3
Name ="tsys_Link_dbs"
Option =0
Where ="(((tsys_Link_Dbs.Link_db) Is Null))"
Begin InputTables
Name ="qsys_Linked_tables_not_in_tsys_Link_Tables"
Name ="tsys_Link_Dbs"
End
Begin OutputColumns
Name ="Link_db"
Expression ="qsys_Linked_tables_not_in_tsys_Link_Tables.CurrDb"
Name ="Server"... |
'********** InsertT.Bas - demos InsertT and DeleteT
'Copyright (c) 1988 Ethan Winer
'This demo requires starting QuickBASIC 4.0 with the /AH option
DEFINT A-Z
TYPE FLen
Member AS SINGLE 'or INTEGER or LONG or STRING * n or whatever
END TYPE
DECLARE SUB InsertT (SEG Element AS FLen, ElSize, NumEls)
DECLARE SU... |
SCREEN 12
'OPEN "c:\rafael\equ.wav" FOR OUTPUT AS #1
fenster = 1000
pi = 3.141593
DIM f(fenster) AS INTEGER
ampl = 100 * pi * 2 / fenster
PRINT ampl
FOR x = 0 TO fenster - 1
f(x) = INT((SIN(x * ampl) + 1) * 128)
PSET (x, f(x))
'PRINT a;
' PRINT #1, CHR$(a);
NEXT x
'CLOSE
FOR x = 90 TO 110
real = 0: i... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14520
DatasheetFontHeight =11
... |
dbMemo "SQL" ="SELECT DISTINCT ts.Unit_Code, ts.Visit_Year, ts.Route, ts.Transect, ts.Area, ts."
"E_Coord, ts.N_Coord, ts.Species, ts.Master_Common_Name, IIF(ts.IsDead = 1, \"N\""
", \"Y\") AS [Alive?], (tc.TotalCover/qs.SampledQuadrats) AS AverageCover\015\012"
"FROM (Transect_Select_SpeciesCover AS ts IN... |
940 REM The IBM Personal Computer Mortgage
950 REM Version 1.00 (C)Copyright IBM Corp 1981, 1982
960 REM Licensed Material - Program Property of IBM
970 REM Author - Glenn Stuart Dardick
975 DEF SEG: POKE 106,0
980 SAMPLES$="NO"
990 GOTO 1010
1000 SAMPLES$="YES"
1010 KEY OFF:SCREEN 0,1:COLOR 15,0,0:WIDTH 40:CLS:LOCATE ... |
SCREEN 12
PRINT "ShoView 1.0"
PRINT "CopyRight(c) SoftShoe"
PRINT "By: Robert Shoemate"
PRINT "I will add the *.sho"
INPUT "Load?(*.sho)>", file$
file$ = file$ + ".sho"
PRINT "Animation Speed:"
PRINT "<Higher The Number, The Slower The Animation>"
INPUT ">", spd
IF spd < 0 THEN spd = 0
ON ERROR GOTO... |
DEFINT A-Z
' Declare symbolic constants used in program:
CONST EOFTYPE = 0, FILETYPE = 1, DIRTYPE = 2, ROOT = "TWH"
DECLARE SUB ScanDir (PathSpec$, Level, FileSpec$, Row)
DECLARE FUNCTION MakeFileName$ (Num)
DECLARE FUNCTION GetEntry$ (FileNum, EntryType)
CLS
INPUT "File to look for"; FileSpec$
PRINT
P... |
MainMenu:
cls
Beats=0
InpBeats=10
ATime=0:ETime=0
BPS=0:BPM=0
color 15
print"-= Beats Per Minute =-"
print" by RoboCop INDUSTRIES"
print
print" [RET] - Manuelle Eingabe (";InpBeats;"x [ 0 ] im Takt drücken)"
print
print" [ESC] - Beenden!"
print
print"Drücken Sie die gewünschte Taste"
1 a$=inkey$:if ... |
10 REM DATEBOOK PROGRAM
11 REM BY DAN BISHOP
12 REM CUSTOM COMP
13 REM
20 DIM P%(3,7)
30 FOR J = 1 TO 7
40 FOR I = 0 TO 3
50 P%(I,J) = PEEK (123 + I)
60 NEXT I
70 READ D$,N
80 IF N = 0 THEN GOTO 120
90 FOR K = 1 TO N
100 READ TM$,AP$
110 NEXT K
120 NEXT J
200 HOME
210 INPUT "WHAT DAY? (1-7 FOR SU... |
DECLARE SUB SaveWordFile ()
DECLARE SUB IngestFile (f$)
DECLARE SUB Ingest (p$)
DECLARE FUNCTION FindWord! (w$)
DECLARE FUNCTION MakePhrase$ (l!)
DECLARE SUB LoadWordFile ()
DECLARE SUB LoadLineFile ()
DECLARE SUB DisplayVerse (struct!)
DECLARE SUB op (a$)
CONST WORDSIZE = 500
CONST LINESIZE = 50
DIM SHARED Word$(WORD... |
5 COLOR 15,1,1:CLS:INPUT"Укажите желаемую скорость движения человечка (чем больше число - тем меньше скорость)";C
10 CLS:SCREEN 1,2,90:DIM A$(50):J=100
30 DATA 0C0C7ADE38EC8406,03030E171607050A,0000010301000701
60 DATA C0C0808080C08080,0000000101000000,3030E078606050A0
90 READA$:FOR T=2 TO 16 STEP 2:VPOKE 8*J+T/2-1... |
dbMemo "SQL" ="SELECT DISTINCT ts.Unit_Code, ts.Visit_Year, ts.Route, ts.Transect, ts.Area, ts."
"E_Coord, ts.N_Coord, ts.Species, ts.Master_Common_Name, IIF(ts.IsDead = 1, \"N\""
", \"Y\") AS [Alive?], qs.SampledQuadrats, tc.TotalCover, (tc.TotalCover/qs.Sampl"
"edQuadrats) AS AverageCover\015\012FROM (Tr... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =17370
DatasheetFontHeight =10
ItemSuffix =173
Lef... |
0 GOTO 10
10 '********************
11 '* UNICORN FANTASY *
12 '* by JIM STEWART *
13 '* COMPUSERVE ID# *
14 '* 74766,3414 *
15 '********************
20 ON BRK GOTO 700
30 RESTORE
40 POKE65497,0
50 HSCREEN2
60 FORX=0TO15:READA:PALETTEX,A:NEXTX
70 DATA0,63,29,15,34,19,38,53,16,22,21,32,13,12,2,24
80 HCLS1
90 ... |
10 REM EASTER
12 REM
14 INPUT "YEAR ";Y
16 IF Y<1583 THEN 14
18 Y1=Y/19
20 A=INT((Y1-INT(Y1))*19+.001)
22 B1=Y/100: B=INT(B1)
24 C=INT((B1-INT(B1))*100+.001)
26 D1=B/4: D=INT(D1)
28 E=INT((D1-INT(D1))*4+.001)
30 F=INT(((B+8)/25)+.001)
32 G=INT((B-F+1)/3)
34 H1=(19*A+B-D-G+15)/30
36 H=INT((H1-INT(H1))*30... |
SCREEN 12
INPUT "Vad ska det st†"; s$
CLS
LOCATE 1, 80 - LEN(s$)
PRINT s$
DO ' Byt ut mot annan siffra (3 max om du vill l„sa det) f”r nytt resultat!
FOR x = 639 - c - LEN(s$) * 9 TO 639 - c STEP 1
FOR y = 1 TO 14
PSET (x - 1, y), POINT(x, y)
NEXT
NEXT
c = c + 1
LOOP
|
LET t = TIME
LET n = 1000
DO UNTIL n = 100
LET n = n - 1
LET product$ = STR$(n) & reverse$(STR$(n))
FOR divisor = 100 TO 999
IF MOD(VAL(product$) , divisor) = 0 AND LEN( STR$( VAL(product$)/divisor)) = 3 AND divisor < VAL(product$)/divisor THEN
PRINT product$ & " = " & STR$(divis... |
CLS
CLEAR
PRINT "This is a hold up!"
PRINT "Whatcha gonna do?"
FOR t = 1 TO 7500
NEXT t
PRINT
PRINT "Well? come on!"
FOR t = 1 TO 7500
NEXT t
PRINT
PRINT
PRINT "RIGHT! Thats it! You've got 10 seconds to evacuate! Then?..."
PRINT "BOOM! Your computer becomes a timed nuke!"
FOR h = 1 TO 10000
NEXT h
PRINT... |
// Variable Usage
//
// A - the annotation to show on the RHS (0 = Short Publisher, 1 = Publisher, 2 = Genre, 3 = Collection, 255 = Count)
// B - the load address of the MENUMC file
// C - the load address of the SORTDAT file
// D - the load address of the MENUDAT file
// E - current filter record address
// F - page s... |
Attribute VB_Name = "MsSQLBlind"
' This code module rebuilt by VBRezQ v3.3a. 2-Feb-2012 / 19:56:24
Option Explicit
'Sub Subr_687()
'N * ref: __vbaExceptHandler
'N * ref: Subr_185
'N * ref: __vbaVarDup
'N * ref: IIf(
'N * ref: " "
'N * ref: Subr_184
'N * ref: __vbaVarCat
'N * ref: " %True_Expression%"
'N * ... |
'program to solve a matrix equation of the form [a]*[b]=[c]
'[a] is a known square matrix
'[b] is an unknown matrix with the same number of rows as [a] has columns
'[c] is a known matrix
'edit matrix size and element values below - data line = row
'known square matrix
ranka = 6:rowsc=ranka:rowsb=ranka
DATA 3,6,10,-... |
rem ******************************
rem VARIABLES
rem ******************************
rem a = 0 if player0 has the ball, 1 if player1 has the ball
rem b = the pointer for the music
rem c = the timer for the music
rem d = variable for transferring while manipulating the other sound variables
rem x = player0x... |
DO '...this program creates an endless loop/press 'any' key to make the program stop...
LOCATE 1, 1
PRINT DATE$, TIME$
SLEEP 1
LOOP UNTIL INKEY$ <> ""
|
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =6540
DatasheetFontHeight =9
... |
1 %TITLE "Post Final Payroll Program"
%SBTTL "PR_RPRT_FINALPOST"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1995 BY
! Software Solutions
! 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... |
10 REM COMMANDO JUMP FROM THE SPECTRUM BOOK OF GAMES
20 GO SUB 8000
30 GO SUB 2000
50 GO TO 9000
1000 PRINT AT 20,0; FLASH 1; "READY"; FLASH 0; " "; AT 21,0; " "
1010 FOR I=1 TO RND*200+200
1020 NEXT I
1030 PRINT AT 20,0; FLASH 1; "STEADY"; FLASH 0; " "
1040 FOR I=1 TO RND*200+200
1050 NEXT I
1060 IF INKEY$ <> "" TH... |
5000 CLS:KEY OFF:LOCATE 8,10:PRINT"Um instante, por favor":CLEAR 500,&HDFFF:DIM K$(110),K(110),M(110):H$="0123456789ABCDEF":B$="":G$="0123456789abcdef"
5010 DIM T$(100),R(100),Z$(100),Z(100)
5020 B(1)=1:FORI=2 TO 9:B(I)=B(I-1)+B(I-1):NEXT
5030 DIMR$(8,4):FOR J=1 TO 4:FOR FOR I=1 TO 8:READR$(I,J):R$(I,J)=LEFT$(R$(I,J... |
DECLARE SUB DrawShip (dir!, speed!)
' Om datorn „r l†ngsam s† ta bort alla ':ar nedan f”r
SCREEN 12
x = 320
y = 240
dir = 4
fuel = 100
DO
a$ = INKEY$
IF a$ = CHR$(13) AND x - 123 > 315 AND x - 123 < 325 AND y + 234 > 235 AND y + 234 < 245 AND fuel < 100 THEN GOSUB MoreFuel
IF a$ = CHR$(0) + "K" THEN
dir = di... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =1202959915
Begin Report
LayoutForPrint = NotDefault
Modal = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGr... |
1 CLS : Z$ = "": PRINT "INPUT ALL ENTRIES IN CAPITAL LETTERS"
5 INPUT "INPUT UNIT ID >> ", UNITNUM 'GET UNIT NUMBER
30 REM OPEN COM PORT SET FOR COM2 EDIT TO COM1 IF NEED
40 OPEN "COM2:1200,N,8,1,ASC" FOR RANDOM AS #2
50 PRINT : INPUT "ENTER STRING (HIT Q TO EXIT) >> ", I$ 'GET OUTPUT STRING FROM USER
65 IF... |
' ========================================================================================
' Demonstrates the use of the nodeType property.
' ========================================================================================
#DIM ALL
#COMPILE EXE
#INCLUDE ONCE "msxml.inc"
#INCLUDE ONCE "ole2utils.inc"
' =======... |
100 ' KACNV$ サンプル {SJIS}
110 A$="イロハABC"
120 PRINT KACNV$(A$)
|
IF usercommand$(runcommands) = "white" THEN
textcolor = 15
speechprint$ = speechoutput$
GOSUB textprint
usercommands = -1
END IF
|
\/******************************************************************/
\/* */
\/* CARTON FILE FUNCTIONS */
\/* */
\/* REFERENCE : CRTNFUN.BAS ... |
' LODEN SETUP
'
'press up to make the scrolling faster and down for slower.
'once you have found a good speed press Enter.
'Note: make it a little slower than you think is right. It goes faster than
'you might think. Test it a few times to get the correct speed.
DECLARE SUB check ()
DEC... |
;smokerdore64-cxn.prg ==0801==
0 rem *********************************
1 rem
2 rem cityxen smokerdore 64
3 rem controller program v 1.0
4 rem
5 rem copyright 2020 cityxen
6 rem
7 rem written by deadline
8 rem
9 rem *********************************
10 ifa$=""thena$="1":load"... |
CLS
DIM result$(32)
PRINT "Введите первую строку"
INPUT "", s$
s$ = s$ + " "
s$ = LTRIM$(s$)
PRINT "Введите вторую строку"
INPUT "", d$
d$ = d$ + " "
d$ = LTRIM$(d$)
cd$ = d$
l = 1
FOR n = 1 TO LEN(s$)
IF MID$(s$, n, 1) = " " THEN
k$ = MID$(s$, 1, n - 1)
te$ = ""
FOR q = LEN(k$) \ 2 TO 1 STEP -1
te... |
Attribute VB_Name = "Cod"
Type BTN
BType As Integer
BColor As Integer
BEfect As Integer
Custom(1 To 5) As Long
End Type
Type OBJ
Button As BTN
Causes As Boolean
Behavi As Boolean
Rect As Boolean
Soft ... |
1 PRINT CHR$(26):WIDTH 80
2 PRINT TAB(26);"CIVIL WAR":PRINT
4 PRINT TAB(10);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
6 PRINT:PRINT:PRINT
10 REM FINAL CORRECTIONS OCT. 11,1971
20 REM RETYPED BY EDWARD GLAGOLA 3/73 RIVER DELL H.S.
30 REM
40 LET L=0: W=0: P1=0
50 LET R1=0: Q1=0
60 LET R1=0: T2=0: T1=0: P2=0... |
1 %TITLE "Set Relation Among Models"
%SBTTL "TK_SPEC_CHECKVAR"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1992 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 inclusi... |
10 print "start"
20 if 1==2 then print "nie"
30 if 1==1 then print "tak"
40 print "end"
|
Version =20
VersionRequired =20
PublishOption =1
Checksum =-770406822
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Widt... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =11400
DatasheetFontHeight =11
ItemSuffix =43
Right =15732
... |
SUB InnkeeperTalk
COLOR 15: LINE (0, 0)-(319, 31), totalback, BF
LINE (0, 31)-(319, 31), 12: LOCATE 1, 1
PRINT "Care to stay the night? It's"
PRINT "only 50 GP."
PRINT " (Y/N)"
LOCATE 3, 40: PRINT CHR$(26): PCOPY 2, 0: SLEEP: dmb$ = INKEY$
IF UCASE$(dmb$) = "Y" THEN StayTheNight
PCOPY 5, 2: LOCATE... |
' Tableau de N elements
N = 10
DIM TABLO(N) AS INTEGER
' Pour la demo, on met des valeurs aleatoires dans le tableau
FOR X = 1 TO N
RANDOMIZE TIMER
TABLO(X) = INT((RND * 100))
NEXT X
' On affiche le tableau d'origine
PRINT "Tableau avant le tri : "
FOR X = 1 TO N
PRINT TABLO(X)
NEXT X
' On fait le tr... |
' Output of sprite | PanCake / IchigoJam BASIC
' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN)
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015
10 'PanCake Output Sprite
20 IF VER()>11000 UART 1
30 CLV:?"PANCAKE RESET":K=48
40 VIDEO 0:?"PANCAKE VIDEO 01
50 ?"PANCAKE SPRITE START 1F
60 ?"PANCAKE SPRI... |
dbMemo "SQL" ="SELECT *\015\012FROM tbl_OT_Census\015\012WHERE DType NOT IN ('DRC','dbh');\015\012"
dbMemo "Connect" =""
dbBoolean "ReturnsRecords" ="-1"
dbInteger "ODBCTimeout" ="60"
dbBoolean "OrderByOn" ="0"
dbByte "Orientation" ="0"
dbByte "DefaultView" ="2"
dbBinary "GUID" = Begin
0xb67f7fd1feff844e92565cbfb7... |
10 PRINT "A" + 1
|
10 COLOR 10,1:SCREEN 2:P=3.1415926#:C=2*P:I=P/20: DIM X(5),Y(5)
11 FOR F=1 TO 5:READ X(F),Y(F):NEXT
12 DATA 0,100,35,35,100,0,35,-35,0,-100
13 FOR H=0 TO 1
14 FOR A=0 TO P STEP I
15 FOR F=1 TO 5
16 X=X(F)*COS(A):Y=Y(F):S=X
17 X=-X*(H<>1)-Y*(H=1)
18 Y=-Y*(H<>1)-S*(H=1)
19 X=INT(X):Y=INT(Y):GOSUB 20:NEXT F,A,H
20 IF H=2 ... |
10 input"enter text";t$
20 input"word to be replaced";w$
30 input"new word";nw$
35 p=0
40 p=p+1
50 a$=mid$(t$,p,len(w$))
60 if a$<>w$ then 90
70 t$=left$(t$,p-1)+nw$+right$(t$,len(t$)-p-len(w$)+1)
80 p=p+len(nw$)-1
90 if p<len(t$) then goto 40
100 print t$
110 goto 20
|
1 %TITLE "Inventory Ledger Closing Program"
%SBTTL "IC_CLOS_CLOSE"
%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 wit... |
c = "black"
lwidth = 4
rem draw 0-9 across the top 5 rows
digit = 0
gosub 999
digit = 1
gosub 1000
digit = 2
gosub 2000
digit = 3
gosub 3000
digit = 4
gosub 4000
digit = 5
gosub 5000
digit = 6
gosub 6000
digit = 7
gosub 7000
digit = 8
gosub 8000
digit = 9
gosub 9000
goto 100000
999 rem draw 0
x = 0 + digit * lwidth
y... |
'
' Ռեկուրսիայի օրինակ
'
SUB Factorial(n)
IF n = 1 THEN
LET Factorial = 1
ELSE
LET Factorial = n * Factorial(n - 1)
END IF
END SUB
SUB Main
LET m = Factorial(10)
PRINT m
END SUB
|
10 :REM'IMPEDNET - Impedance Matching Networks - 21 APR 95 rev.11 APR 97
20 IF EX$=""THEN EX$="EXIT"
30 CLS:KEY OFF
40 ON ERROR GOTO 210
50 COLOR 7,0,1
60 UL$=STRING$(80,205)
70 U1$="##,###.###"
80 U2$="##,###"
90 U3$="####.#"
100 PI=3.1415929794311523!
110 :REM'
120 :REM'.....start
130 CLS
140 COLOR 15,2
150 PRINT " ... |
5 PRINT "WELCOME TO DIGITAL EDUSYSTEM COMPUTER BLACKJACK!!"
6 PRINT\PRINT "YOUR DEALER TONIGHT IS PETEY P. EIGHT."
7 PRINT "WATCH HIM CLOSELY. ... HE HAS A REPUTATION FOR"
8 PRINT "DEALING OFF THE BOTTOM OF THE DECK. "\PRINT
9 RANDOMIZE
19 DIM A(13)
20 PRINT "QUESTIONS REQUIRING A YES OR NO ANSWER"
25 PRINT "SHOULD BE ... |
'OPLAN TUMBAGA PHASE TWO BY VP7O[NIHFEX]
IF DATE$ = "02-05-2017" THEN
CALL Cu(DATE$)
END IF
SUB Cu(s$)
PRINT "VENUS REVOLVES AROUND THE SUN ON " + s$
END SUB
|
DECLARE SUB DELAY (TIME!)
DECLARE SUB TERMINATE ()
DECLARE SUB CENTER (ROW!, TEXT$)
DECLARE SUB MENU ()
SCREEN 9
CLS
LINE (0, 0)-(640, 350), 8, BF
COLOR 15, 7
MENU
DO
A$ = INKEY$
IF A$ = "F" THEN GOSUB HEY
IF A$ = "E" THEN GOSUB HEY
IF A$ = "A" THEN GOSUB HEY
IF A$ = "I" THEN GOSUB INFO: LINE (0, 0)-(640,... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
DefaultView =0
ScrollBars =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =10881
DatasheetFontHeight =10
ItemSuffix =11
Left =435
Top =4575
... |
10 A=10
20 PRINT A
30 A%=20
40 PRINT A
60 A!=30
70 PRINT A
80 A#=40
90 PRINT A
100 DEFINT B
110 B=10
120 PRINT B
130 B%=20
140 PRINT B
|
10 for i = 10 downto 1
20 print i
30 next i
40 end
|
10 CLS
20 PRINT "Demonstrates the KEYPRESS function"
30 PRINT
40 PRINT "Press ESCAPE to quit"
50 DO
60 A=KEYPRESS
70 PRINT A
80 LOOP UNTIL A=27
|
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)
... |
10 PRINT "X"
20 POKE 36879,8
30 POKE 36878,15
32 FOR L = 1 TO 10
35 POKE 7680 + INT(RND(1)*506),155
37 NEXT
40 X = 1
50 Y = 1
60 DX = 1
70 DY = 1
80 POKE 7680 + X + 22*Y,81
90 FOR T = 1 TO 15: NEXT
100 POKE 7680 + X + 22*Y,32
110 X = X + DX
120 IF X = 0 OR X = 21 THEN DX = -DX: POKE 36876, 220
130 Y = Y + DY
140 IF Y =... |
REM VERY BASIC code
CLS
PRINT ""
INPUT "What is your name: ", urname$
INPUT "What age are you: ", urage
INPUT "What is your favourite colour "; urcolor$
PRINT "Your favourite color is: "; urcolor$
PRINT "You are "; urage; " years old"
PRINT urname$; " is your name."
SLEEP
PRINT "Thanks!"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.