text stringlengths 7 5.36M |
|---|
\******************************************************************************
\***
\*** PILST - LIST OF LISTS FILE - FILE FUNCTIONS
\***
\*** REFERENCE: PILSTFUN.BAS
\***
\*** 9th October 1992
\***
\******************************************************************************
INTEG... |
10 :REM'PWRSUPP - Design Program - 01 JUL 91 rev. 12 APR 2000
20 IF EX$=""THEN EX$="EXIT"
30 IF PROG$=""THEN PROG$="pwrsupp"
40 COMMON EX$,PROG$,EO,OV :REM'voltages for chaining to LM317 program
50 SCREEN 0,0,0:COLOR 7,0,1
60 KEY OFF:PI=3.1415929794311523!
70 COLOR 7,0,1
80 X$=STRING$(80,32)
90 UL$=STRING$(80,2... |
Attribute VB_Name = "ZtStart"
Option Explicit
' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
' Module ZtStart.
' You can add method 'Start' to the ribbon of the Word application... |
Version =20
VersionRequired =20
Begin Form
AllowDesignChanges = NotDefault
DefaultView =2
TabularFamily =107
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14940
DatasheetFontHeight =10
ItemSuffix =24
Right =13515
Bottom =7605
DatasheetG... |
'One of the more useful features of a modern day editor is the ability to give
'the users suggestions/options for the text they are about to type - syntax
'information, function arguments, and member information. This is called
'Intellisense by Microsoft.
'An additional feature would be simply 'word completion', wher... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Mill.b
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWord... |
Attribute VB_Name = "modAppVersionFuncs"
Option Compare Database
Option Explicit
'VGC 03/23/2017: CHANGES!
' ** Database Properties:
' ** CurrentDb().Containers("Databases")
' ** .Documents.Count = 4
' ** .Documents(0).Name = AccessLayout
' ** .Documents(1).Name = MSysDb
' ** .Documents(2).Name = S... |
Attribute VB_Name = "API_Functions"
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal HWND As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long
Private Declare Function CreateRoundRectRgn Lib "gdi32" _
(ByVal RectX1 As Long, ByVal RectY1 As Long, ByVal RectX2 As... |
DECLARE SUB DrawColors (Label$, Row%, Column%, Low%, High%)
DEFINT A-Z
SCREEN 13
CLS
DIM SHARED W, H
W = 13
H = 8
DrawColors "Default", 1, 1, 0, 15
DrawColors "Gray", 3, 1, 16, 31
DrawColors "Rainbow 1", 5, 1, 32, 55
DrawColors "Rainbow 2", 7, 1, 56, 79
DrawColors "Rainbow 3", 9, 1, 80, 103
DrawColors "Rainbow 4", 1... |
Attribute VB_Name = "mod_Func12"
Option Explicit
Private cn As Object
Private rs As Object
Private rs105G As Object
Private rs105E As Object
Private strAuthenticID As String
Private strOwner As String
Private intLoop As Integer
Private lngCustID As Long
Private strOrderNo As String
Private strOrderItem As String
Priv... |
10 REM TEST MAT PLOT
20 MAT LET A = RND2(6,30)
22 MAT LET B = RND2(6,30,20)
24 MAT LET C = RND2(6,30,1000)
30 MAT PLOT A,B,C
99 END
|
DEFINT A-Z
CLS
' indexado de nombre
KILL "c:\kevinprg\kevindat\nombre.idx"
OPEN "c:\kevinprg\kevindat\new.dbf" FOR RANDOM 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$, 149 AS vacio$
max1% = LOF(1) / 200
OPEN "c:\kevinprg\kevindat\nombr... |
DECLARE SUB intro ()
DECLARE SUB over ()
DECLARE SUB hlp ()
DECLARE SUB wecker ()
DECLARE SUB timer1 ()
DECLARE SUB timer2 ()
DECLARE SUB ende ()
DECLARE SUB spiel ()
DECLARE SUB menu2 ()
DECLARE SUB stopuhr ()
DECLARE SUB hllp ()
DECLARE SUB crdt ()
intro
begin:
over
CLS
COLOR 1
LINE (0, 0)-(640, 480), 1, BF
LINE (50,... |
REM EXTERNAL INTEGRATION SYSTEM CALLS (ON MSX)
REM
REM This small example explains how to invoke MSX system
REM functionalities. Please note that this is only an example,
REM and that you need to have a good understanding of how the
REM BIOS and BASIC works in order to use this functionality.
REM In order f... |
10 SCREEN 1:COLOR 15,4,7
20 VPOKE &H2008,&H4F
|
Attribute VB_Name = "mdlSDCA"
Option Explicit
Private mobjSDCA As Object '用于山东签名
Private mobjTSA As Object '用于山东:时间戳
Private mobjSVS As Object '用于山东:验签
Private mobjBase64 As Object 'BASE64对象
Public Function SDCA_CheckCert(ByRef blnReDo As Boolean, Optional ByRef strCertID As String) As Boolean
'----------... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =11040
DatasheetFontHeight =11
ItemSuffix =7
Right =13515
Bottom =7605
Dat... |
100 REM Program to demonstrate the three color
110 REM palettes available on the IBM PC.
120 REM The last palette does not work on
130 REM TV's.
140 SCREEN 1,0:CLS:KEY OFF 'Set screen
150 COLOR 0 'Black background
160 REM Do palette 0 first
170 COLOR ,0 'Select pale... |
100 PCLEAR 1
110 CLEAR100,&H3AE5
120 REM FROM ALLEN HUFFMAN
130 FORA=0TO8:READA$:POKE &H3900+A,VAL("&H"+A$):NEXTA:EXEC&H3900:DATAC6,1,96,BC,1F,2,7E,96,A3
140 LOADM "MINILISP"
150 CLS
160 EXEC
|
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularCharSet =204
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =1... |
OPTION EXPLICIT
OPTION DEFAULT NONE
OPTION BASE 0
OPTION CONSOLE SERIAL
#INCLUDE "../INC/Dummy.inc"
#INCLUDE "../INC/Utility.inc"
#INCLUDE "../INC/Palette.inc"
#INCLUDE "../INC/Sheet.inc"
#INCLUDE "../INC/Box.inc"
#INCLUDE "../INC/Background.inc"
#INCLUDE "../INC/TileEngine.inc"
#INCLUDE "../INC/Frame.inc"... |
20 SCREEN0:KEY OFF
30 CLS
40 PRINT "Вычисление частоты"
50 INPUT "Введите частоту в Гц";HZ
60 IF HZ<28 OR HZ>55932! THEN 30
70 TMP=1789800#/(16*HZ)
80 CT=INT(TMP/256)
90 FT=TMPMOD256
100 PRINT "Частота";TAB(17);":";HZ;"Гц"
110 PRINT "Параметр точной настройки:";FT
120 PRINT "Параметр грубой настройки:";CT
13... |
10 SCREEN 1:CLS:KEY OFF:COLOR ,0
20 RANDOMIZE VAL(RIGHT$(TIME$,2)):Z=-1:A=INT(320/16):Y=0:C=0
30 FOR X=0 TO 15:Z=Z+1
40 LINE (X*A,0)-(X*A+A,200),3,B:Y=Z+Z*16:Q=Y*4:R=INT(Q/256):Q=Q-R*256+R
50 IF Z<>0 THEN PAINT (X*A+1,1),CHR$(Y)+CHR$(Q),3
60 LINE (X*A,0)-(X*A+A,200),0,B
70 NEXT X
|
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Sub AutoClose()
'MR.Leepile26/01/2000 08:44:50HP LaserJet 6P/6MP - Stan... |
10 FOR I = 10 STEP -1 TO 1
20 PRINT I
30 NEXT I
90 STOP
99 END
|
10 LET X = 50
20 PRINT "GREATER THAN: TRUE"
30 PRINT X > 5
40 PRINT "LESS THAN: FALSE"
50 PRINT X < 5
60 PRINT "EQUAL: FALSE"
70 PRINT X = 5
80 PRINT "NOT EQUAL: TRUE"
90 PRINT X <> 5
100 PRINT "LESS THAN / EQUAL: FALSE"
110 PRINT X <= 5
120 PRINT "GREATER THAN / EQUAL: TRUE"
130 PRINT X >= 5 |
Version =20
VersionRequired =20
Begin Form
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =1410
DatasheetFontHeight =10
ItemSuffix =3
Top =600
Right =3195
Bottom =2955
DatasheetGridlinesColor =12632256
RecSrcDt = Begin
... |
Attribute VB_Name = "Module4"
Option Explicit
Function _
DrawArrow( _
Canvas As PictureBox, _
X As Integer, _
Y As Integer, _
ArrowDir As String, _
ArrowSize As Integer _
)
Select Case LCase(ArrowDir)
Case "n"
Canvas.Line (X, Y)-(X - ... |
0 CLS:DIMZ(23,25,2),XP(10,4),YP(10,4),DR(4),H,V,C,P,Z,X,Y,L,A,B,D,Z1,O,B$,A$,WP$(7),W1(7),W2(7),CO$(4):GOTO50
2 Z=INT(ABS(Z(X+XP(P,D),Y+YP(P,D),L))):RETURN
3 Z1=ABS(Z(X+XP(P,D),Y+YP(P,D),L)):RETURN
50 PRINT@199,"LUMPIES OF LOTIS IV";:PRINT@261,"BY JOHN AND JEFF KLEIN";:PRINT@324,"MC-10 EDITS BY JIM GERRIE"
90 LV=2
110 ... |
10 REM TEST IF WITH COMMENT ON NEXT LINE
20 LET A = 1
50 IF A = 1 THEN 90
60 PRINT "PIE IS NOT READY"
90 PRINT "DONE"
99 END
|
Version =20
VersionRequired =20
PublishOption =1
Checksum =1013629467
Begin Report
LayoutForPrint = NotDefault
Modal = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
PageHeader =1
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavio... |
1 POKE54296,0:POKE55,255:POKE56,47:V=53248:POKE54296,15
5 FOR I=0 TO 510:READ A:POKE12*1024+I,A:NEXT:PRINT"{clear}"
10 POKE2040,192:POKE2041,192:POKEV,86:POKEV+1,50:POKEV+2,244:POKEV+3,200
15 POKEV+39,14:POKEV+40,7:POKEV+33,8:POKEV+32,5:POKEV+28,19:POKEV+37,9
20 POKEV+38,10:POKEV+21,19:POKEV+41,1:POKEV+42,1:POKE2042,19... |
DEFINT A-Z
DECLARE SUB explode (w$, x, y, z)
DECLARE SUB setcolors ()
DIM SHARED xx(10000), yy(10000)
DIM SHARED xi(10000), yi(10000)
SCREEN 12
RANDOMIZE TIMER
SLEEP 1
setcolors
explode "DaViD CaLhOuN", 260, 150, 1
explode "PrEsEnTeS", 262, 150, 1
explode "SoMeThInG", 262, 150, 1
COLOR 8
SUB explode (w$,... |
Attribute VB_Name = "MOD_Path"
Option Explicit
Enum enmPathOrParm
FilePath = 0
FileParm = 1
End Enum
'get short path name api call
Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" _
(ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As... |
@page (content-type =~ /^text\/html/i) (status-code = 200) {
/* Warning levels:
- Notice: Something has been flagged that may be an error
- Best Practice: Something has been found that is not best practice and should be fixed.
- Warning WCAG(ref/s): This may be failing a particular wcag 2.0 requirement. and shou... |
PRINT "This program demostrates nested FOR loops."
FOR X = 1 TO 100
FOR Y = 1 TO 10
PRINT X; Y; X*Y
NEXT
NEXT
|
REM Joshua Hipple - Project 11.1
REM Output list of data based on parallel arrays
DIM IDNum(1 TO 14)
DIM Income(1 TO 14)
DIM Persons(1 TO 14)
CLS
GOSUB InitializeHeaders
GOSUB LoadArrays
GOSUB PrintArrays
GOSUB AboveAverage
GOSUB Poverty
END
REM ** InitializeHeaders **
InitializeHeaders:
H1$ = " ID Number Annual ... |
1 REM Tableau de pr‚sentation du Labyrinthe des Incas Moderne
2 REM Version adapt‚e pour le Basic de Coco 3
3 REM Programmeur: Sylvain Maltais
10 HSCREEN2:HCLS3
20 HDRAW"BM74,130C0R170H50L70NG50R65H25L10NG25U10L3U2R16D2L3D35R5D50L20U50R5U35":A=193:X=125
30 FOR Y=85TO 125STEP 5:X=X-5:A=A+5:HLINE(X,Y)-(A,Y),PSET:NEXT
40 ... |
10 :REM'vacap7 - 22 DEC 2007
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$,PROG$
60 PI=4*ATN(1) :REM'3.141593
70 UL$=STRING$(80,205)
80 U1$="#####.###"
90 DIM A(13)
100 DIM B(13)
110 DIM R(13)
120 :REM'.....title page
130 CUC=0:LUC=0:DUC=0:FLC=0:CD=0:AM=0:KUC=0:DLC... |
1000 '=== Logic Puzzle Solver
1010 '===
1020 '=== MAIN-PROGRAM Ver 1.00
1030 '=== '95/3/31-'95/5/6
1040 '
1050 KEY1,"color15,1,1"+CHR$(13)
1060 KEY2,"screen5,2:run"+CHR$(13)
1070 '=== Init ===
1080 DEFINTA-Z:DX=1:DY=1
1090 ONSTRIGGOSUB 3840:STRIG(0)OFF
1100 OPEN"GRP:"AS#1
1110 DIM BL(0),... |
1 %TITLE "Sales Maintenance"
%SBTTL "PR_MAST_SALES"
%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... |
100 REM ERNEST
110 GOSUB 1100
120 FOR R=0 TO 300
130 LET X=0:LET Y=6:GOSUB 1700:PRINT "testing ";R
140 LET W=300-R
150 IF 11*R<>14*W THEN GOTO 170
160 PRINT:PRINT "he got ";R;" right":PRINT:PRINT"and ";W;" wrong":PRINT:STOP
170 NEXT R
1000 REM VIC20 SUBROUTINES
1100 W=20:D=23
1110 F=8:GOSUB 1200:RETURN
1200 PRINT CHR$(... |
10 S$="123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ()',-.!:? "
20 OPEN "text" FOR INPUT AS #1
30 OPEN "message" FOR OUTPUT AS #2
40 PRINT #2,"message label word"
50 WHILE NOT(EOF(1))
60 LINE INPUT #1,A$
70 FOR I = 1 TO LEN(A$)
80 PRINT #2,CHR$(9);"dw "+STR$(INSTR(S$,MID$(A$,I,1)))+"*font_width*font_height + offset font_t... |
#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 "Depreciation Class List"
%SBTTL "AD_RPRT_DEPCLASS"
%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 with
! the inclusion... |
10 REM Lesson 2 - Menu!
11 CLEAR 32768
12 BORDER 0: PAPER 0: INK 7: CLS
13 RANDOMIZE USR 15619: REM: LOAD "font" CODE 64000
14 LET a = 64000 - 256: POKE 23606, a - 256 * INT (a/ 256): POKE 23607, INT (a/ 256)
20 DIM m$(3, 13): LET keys = 1: LET cur = 0: LET inv = 0
25 DIM k$(3, 5): LET k$(1) = "qaopm": LET k$(2) = "986... |
set romsize 8k
set tv pal
set smartbranching on
set kernel_options pfcolors no_blank_lines
const shakescreen = 1
const pfscore = 1
0start
COLUBK = $2C : scorecolor = $C2 : sram0 = $AB : sram1 = $20 : sram2 = $19 : ram3 = $5E : ram4 = $2D : pfcolors:
$58
$58
$58
$58
$58
$58
$58
$58
$58
$58
$58
$58
en... |
10 REM ************************************
20 REM * *
30 REM * 'Mastermind' game *
40 REM * Tim Holyoake, 29th December 2020 *
50 REM * *
60 REM * Guess the correct sequence of 4 *
70 REM * colour pegs to win *
80 RE... |
10 VDU 20
20 CLS
30 PRINT "Owain's Mandelbrot Generator"
40 PRINT "============================"
50 PRINT""
60 REM VARIABLE SET UP.
70 PRINT "Please enter vars [DEFAULT]:"
80 INPUT "Xmax [ 2.0]: " SXMAX$
90 LET XMAX = 2.0
100 IF SXMAX$ <> "" THEN XMAX=EVAL(SXMAX$)
110 INPUT "Xmin [-2.0]: ... |
LET t = TIME
FOR i = 3 TO 7*fact(9)
LET i$=STR$(i)
LET sum = 0
FOR j = 1 TO LEN(i$)
LET sum = sum + FACT(VAL(i$(j:j)))
NEXT j
IF sum = i THEN LET endsum = endsum + sum
NEXT i
PRINT endsum
PRINT "(";TIME-t;" s )"
END
|
1 %TITLE "AST Routine for Unsolicited Input"
%SBTTL "OUTP_XUNSOL"
%IDENT "V3.6a Calico"
SUB OUTP_XUNSOL BY REF(P1%, P2%, P3%, P4%, P5%, P6%)
!
! 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 accordan... |
Attribute VB_Name = "mdlMedical"
Option Explicit
Public Enum COLOR
红色 = &HFF&
兰色 = &HFF0000
黑色 = 0
非焦点 = &HFFEBD7
焦点 = &HFFCC99
浅灰色 = &HE0E0E0
深灰色 = &H8000000C
灰色 = &H8000000F
浅黄色 = &H80000018
End Enum
Public gcnOracle As ADODB.Connection '公共数据库连接,特别注意:不能设置为新的实例
Public... |
Attribute VB_Name = "ExportServerList"
Option Explicit
Private Data As Variant
Private TabelNames As Variant
Private MyWorkBook As Workbook
Private PlatDic As Variant
Private PlatServerListDic As Variant
Private ServerListDic As Variant
'Public Declare Function MultiByteToWideChar Lib "kernel32" (ByVal CodePage As Long... |
1 %TITLE "Read DIF File and Store Data in Budget File"
%SBTTL "GL_SPEC_RD2020"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1991 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... |
10 A=5:INPUT A:PRINT A
20 END
|
1 %TITLE "Print Invoice Form"
%SBTTL "AP_OUTP_PJ"
%IDENT "V3.6a Calico"
FUNCTION LONG AP_OUTP_PJ(STRING INVOICE, STRING BATCH, LONG FLAG)
!
! 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 ... |
' A long time ago, in a galaxy far, far away...
'
' STAR WARS PLANETS: PARTY EDITION
' by David Benson
'
' Star Wars Planets is a game that mixes text adventure, board, and
' multiplayer games all into one.
' Features wanted to include:
' 1... |
1 %TITLE "Credit Codes Report"
%SBTTL "OE_RPRT_CREASON"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1991 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 t... |
10 REM "A program to work the directories"
20 REM "by Rainier Wong"
30 REM "Date written:30-01-2006"
40 REM "Copyright (C) Rainier Wong 2006. All rights reserved."
50 REM "You may freely modify this program for your personal use."
60 CLS
70 LOCATE 20, 30
80 PRINT "Nicepods present..."
90 LOCATE 21, 30
100 PRIN... |
10 CLS
20 PRINT "MEMCHECKER BY HWR0"
30 CALL 256
40 A = PEEK(&H103)
50 PRINT "0x8500 before: ",A
60 A = PEEK(&H105)
70 PRINT "0x8500 after: ",A
80 A = PEEK(&H104)
90 PRINT "0x8501 before: ",A
100 A = PEEK(&H106)
110 PRINT "0x8501 after: ",A
120 INPUT "Now the RAM - Press Key", B
130 A = PEEK(&H107)
140 PRI... |
100 REM Program to demonstrate the PAINT statement.
110 SCREEN 1,0:COLOR 0,1:KEY OFF:CLS
120 REM Draw three circles and PAINT starting at
130 REM the centers with three different colors
140 CIRCLE (120,80),40,3 'Draw first circle
150 PAINT STEP(0,0),3,3 'Fill in with white
160 CIRCLE (150,120),40,3... |
dbMemo "SQL" ="SELECT \015\012qryU_Top_Canopy.Master_PLANT_Code, \015\012qryU_Top_Canopy.LU_Cod"
"e, \015\012qryU_Top_Canopy.Utah_Species, \015\012qryU_Top_Canopy.Lifeform \015"
"\012FROM qryU_Top_Canopy \015\012WHERE (((qryU_Top_Canopy.Utah_Species) Is Not N"
"ull) AND ((qryU_Top_Canopy.[Lifeform])='Tre... |
10 print tab(26);"tvplot"
20 print tab(20);"creative computing"
40 print tab(18);"morristown, new jersey"
50 print:print:print
55 print "this program automatically comes up with television"
60 print "shows guaranteed to appeal to the masses and win"
70 print "high neilsen ratings.":print
80 print "here is the first plo... |
10 REM Racecar--Initial screen & moving track.
100 DEFINT A-Z:SCREEN 0,0:COLOR 7,0,0:WIDTH 40:LOCATE ,,0:CLS:KEY OFF
110 RANDOMIZE(VAL(RIGHT$(TIME$,2)))
120 TRKWIDTH=9:TRKPOS=15
130 NUMLINES=3:TRKLEN=200
150 FOR I=1 TO 23:LOCATE 24,TRKPOS: PRINT "]]" SPC(TRKWIDTH) "[... |
10 REM 'SQRT' TEST PROGRAM
11 GOTO 20
15 PROC SQRT(X): RETURN SQR(@X)
20 PRINT "THE SQUARE ROOT OF 225 IS ";
30 PRINT FN SQRT(225)
40 PRINT "'SQRT' PASSED THE TEST IF THE RESULT IS 15"
99 END
|
300 rem Moving the bee.
310 rem Calculate the position of the bee
320 if bp<hv or bp>hv+sz then print "error": return
330 let rw = int((bp-hv)/22)
340 let cl = bp-(hv+(rw*22))
350 return
360 rem Bee sniff
370 for i=0 to 7
380 let sd(i)=0
390 if rw=0 and cl=0 and i=2 then sd(i)=cd(i)
400 if rw=0 and (cl>0 and ... |
10 LET A = 5 REM factorial that we want to calculate
15 LET B = A
16 LET B = B - 1
20 LET A = A * B
30 IF B = 1 THEN GOTO 40
35 GOTO 16
40 PRINT A REM expect 120 |
REM -- TETRIS
REM -- An XC=BASIC tutorial game
CONST VICII_RASTER = $d012
INCLUDE "inc/xcb-ext-joystick.bas"
REM -- Clear the screen
MEMSET 1024, 1000, 32
REM -- Clear color RAM
MEMSET 55296, 1000, 0
REM -- Set border and background
POKE 53280, 13 : POKE 53281, 1
REM -- Switch to up... |
10 I=0
20 PRINT"!"; I=I+1
30 IF I<256 GOTO 20
40 END
|
Operation =1
Option =0
Where ="(((ssQryOrderDetails.ShippingStatusID)=195))"
Begin InputTables
Name ="ssQryOrderDetails"
Name ="ssd_Orders"
End
Begin OutputColumns
Expression ="ssd_Orders.*"
Expression ="ssQryOrderDetails.ShippingStatusID"
End
Begin Joins
LeftTable ="ssQryOrderDetails"
RightTab... |
1 COLOR 11, 14
CLS
LOCATE 12, 34
PRINT "Ooohh....; "
FOR i = 1 TO 35
freq = INT(RND * 2700) + 500
dur = INT(RND * 1) + 1
SOUND freq, dur
NEXT i
GOTO 1
|
1000 X = RND(-TI)
1010 px=20:py=23
1020 wall=160
1030 yy=0:pq$=""
1040 pd$="":g$=""
1050 gx=3:gy=5
1060 xg=19:yg=12 :rem x,y goal for ghost
1070 rem ************
1080 g1yy=0:g2pq$=""
1090 g3pd$="" :g4g$=""
1100 g5gx=3:g6gy=5
1110 g7xg=19:g8yg=12 :rem x,y goal for ghost
1120 rem ************
1130 h1yy=... |
atom=O
contraction shell=S num_primitives=1 num_coefficients=1
348.4406 1.000000
contraction shell=S num_primitives=1 num_coefficients=1
175.3001 1.000000
contraction shell=S num_primitives=1 num_coefficients=1
88.19334 1.000000
contraction shell=S num_primitives=1 num_coefficients=1
44.36999 1.000000
contraction shell... |
DEFINT A-Z
'--- PostIt! subroutines.
DECLARE SUB ParseCmdLine (cmd$, Params$(), Found%)
DECLARE SUB SepPath (a$, Drive$, path$, tName$)
DECLARE FUNCTION Decode% (oSwitch%, InSpec$, OutSpec$)
DECLARE FUNCTION Encode% (Op%, iSwitch%, cSwitch%, aSwitch%, tSwitch%, sSwitch%, pSwitch%, lSwitch%, oSwitch%, bSwitch%, InS... |
0 REM TRACE
110 CLS:GRAPH
120 FOR I=1 TO 79 STEP 2
130 BOX I,I,160-I,80-I:REM __DEBUG I,I,160-I,80-I:K$=INKEY$:CLS
140 NEXT I
150 LOCATE 3,5:PRINT "万能数学V1.0"
160 C$=INKEY$
170 FOR I=80 TO 160
180 LINE I,0,I,80,0
190 LINE 160-I,0,160-I,80,0
200 NEXT I
300 GRAPH:CLS:PRINT " 万能数学宝V1.0"
310 PRINT "1 质数检查"
320 PRINT "2 求公... |
'H-Fractals, Backtracking
SCREEN 12: CLS
WINDOW (-1.2, -.9)-(1.2, .9)
p = 6: DIM x1(p), x2(p), x3(p), x4(p), y1(p), y2(p), y3(p), y4(p)
a = .5
x1(0) = 0: y1(0) = 0: s = 1: GOSUB 140
FOR m = 1 TO 4 ^ (p - 1) - 1: n = m: s = p
90 IF n MOD m = 0 THEN n = n / 4: s = s - 1: GOTO 90
GOSUB 120: NEXT m
BEEP: a$ = INPU... |
1 PRINT CHR$(26):WIDTH 80
2 PRINT TAB(33);"NICOMA":PRINT
4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
6 PRINT: PRINT: PRINT
10 PRINT "BOOMERANG PUZZLE FROM ARITHMETICA OF NICOMACHUS -- A.D. 90!"
20 PRINT
30 PRINT "PLEASE THINK OF A NUMBER BETWEEN 1 AND 100.":PRINT
40 PRINT "YOUR NUMBER DIVIDED BY... |
$regfile="attiny44.dat" 'вказуємо мікроконтролер
$crystal=1000000 'тактова частота
Config 1wire=PORTA.0 'конфігурація ніжки за протоколом 1-wire
Dim A As String * 5
Dim B As Byte
Dim C As Byte
Dim D As Byte
Dim G As String * 2
Open "comb.0:9600,8,n,1" For Input As #1
Open "comb.1:9600,8,n,1" For I... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularCharSet =186
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
... |
10 FOR I% = 1 to 10 STEP 2
20 PRINT I%
30 NEXT I%
|
REM "Remove spaces from the given string"
word$ = "He llo wo rl d"
a$ = strip_space$(word$)
print a$
FUNCTION strip_space$ (word$)
'read the given word one character at a time
FOR x% = 1 TO LEN(word$)
char$ = MID$(word$, x%, 1)
IF char$ <> " " THEN
temp$ = temp$ ... |
DIM LineTxt AS STRING
DIM CorrectAnswer AS STRING
' DIM UserAnswer AS STRING
DIM NumCorrect AS INTEGER
1 CLS:
COLOR 5, 2
PRINT " "
PRINT " "
PRINT " ... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =-980013459
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =6450
DatasheetFontHeight =11
ItemSuffix =46
... |
10 a=0:open1,8,15,"i"
20 a=a+1:closea
30 print"yeah",a |
Attribute VB_Name = "MacroHelpers"
' All should be declared as Public for use from other modules
' *****************************************************************************
' DECLARATIONS
' *****************************************************************************
Option Explicit
Private Const strMod... |
PRINT "What is your name? "
INPUT N
PRINT "Hello ", N, " !"
|
'********** DemoHiLo.Bas - demo of the GraphPak Pro 2 dimensional
' High-Low-Close graph
'Copyright (c) 1988 Brian Giedt
'Copyright (c) 1988 Crescent Software
DEFINT A-Z
'These DECLARE statements are for QuickBASIC 4.0. If you are using QB 2
'or QB 3, add a REMark apostrophe and also remove... |
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... |
100 ' CLS sample
110 SCREEN 0,0
120 GOSUB 180:BEEP:CLS 1
130 GOSUB 180:BEEP:CLS 2
140 GOSUB 180:BEEP:CLS 3
150 GOSUB 180:VIEW(200,50)-(400,150)
160 BEEP:CLS 3
170 END
180 FOR I=1 TO 20
190 FOR J=1 TO 50:PRINT "*";:NEXT J
200 LINE(0,0)-(I*30,199),7
210 NEXT I
220 RETURN
|
Attribute VB_Name = "mdlMODULE"
Option Explicit
Public Function MODULE_INSPE_CHECK_PROC(Sendbuf As String, Ti As Integer, Tj As Integer) As Integer
'-------------------------------------------------------
'
' 『モジュール検品処理』
' 2014.06.24
'2016.05.14 Private--> Public
'---------------------------------------------... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =11186
DatasheetFontHeight =11
ItemSuffix ... |
PROCEDURE IDE_detect
(* IDE identify program
(* Do not have IDE driver enabled
(* while running this program!
(* Copyright 1996 By Jim Hathaway
(* Revised version 2 by L. Curtis Boyle, May, 1999
(* Version 2.1 by L. Curtis Boyle, Oct. 13/1999 - to handle ATAPI
(* Slight changes Oct. 20/1999 to show # of sectors ... |
' Calculo de numeros primos
' Algoritmo de Martin Parra
' Vera-Garrucha 31/03/2020
SCREEN _NEWIMAGE(1200, 750, 256)
_SCREENMOVE 0, 0
titulo$ = "Piramide de numeros primos por el Algoritmo de Martin Parra."
_TITLE titulo$
DIM x AS _UNSIGNED _INTEGER64
DIM y AS _UNSIGNED _INTEGER64
_FONT 8
FOR x = 5 TO 300 STEP 2
pri... |
5 GOTO10010
10 DATAa’-b’,(a+b)(a-b),10,20
20 DATAa“ùb“,(aùb)(a’úab+b’),10,30
30 DATAa”-b”,(a-b)(a+b)(a’+b’),20,40
40 DATAa”+b”,(a’+‚ÿab+b’)(a’-‚ÿab+b’),30,50
50 DATAa’ù2ab+b’,(aùb)’,40,60
60 DATAa“ù3a’b+3ab’ùb“,(aùb)“,50,70
70 DATA(aùb)’ú4ab,(aúb)’,60,80
80 DATAa’+b’+c’+2bc+2ca+2ab,(a+b+c)’,70,90
90 DATAa”+a’b’+b”,(a’+... |
' A SIMPLE EXAMPLE OF USING SAMPLES FROM POWER BASIC
' ALSO RUNS UNDER HISOFT BASIC
' BY A.R and D.A.W (C) 2-BIT SYSTEMS LTD 1990
'
DIM CODE%(2000) ' SPACE FOR CODE
DIM SAMPLE%(13000) ' SPACE FOR SAMPLE
PRINT "Load Machine Code ...."
BLOAD "BASCODE.EXE",VARPTR(CODE%(0)) ' LOAD CODE
PLAY = V... |
1000 PROGRAM SPHINX ADVENTURE
1010FUNCTION LEFT(S,L)
1020IF L<1;LEFT=#24C0
1030$#24C0=$S;L?#24C0=13
1040LEFT=#24C0
1050FEND
1060FUNCTION RIGHT(S,L)
1070IF L<1;RIGHT=#2434
1080$#2434=$S;IF L<LEN(S) $#2434=$(S+L.(S)-L)
1090RIGHT=#2434
1100FEND
1110FUNCTION ADD(A,B),P,I
1120P=#25D8;$P=$A;P=P+L.A
1130F.I=0TO L.B;I?P=I?B;N... |
00 rem d020 is border colour, i.e. 53280
10 for i = 5 to 15: poke 53280, i: next i
00 rem based on tone example at http://goo.gl/tIDtAy
05 rem sid is at d400 = 54272
10 sid=54272
12 rem high nibble multiplier
13 high=16
15 rem clear 28 sid bytes
20 for i = 0 to 28 : poke sid + i, 0 : next
25 rem set volume segment of ... |
1 %TITLE "Payroll Paid Employees"
%SBTTL "PR_RPRT_PAIDEMPLOYEES"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1991 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... |
REM ************************************************************
REM *** Storm Sewer Program menu and job information program ***
REM *** February 22, 1992 Version ***
REM ************************************************************
REM PROGRAM CONSTANTS
'----------------------------------... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =8884
DatasheetFontHeight =11
ItemSuffix =14
Right =9210
Bottom =7140
Data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.