text stringlengths 7 5.36M |
|---|
Attribute VB_Name = "FINAN_ASSET_TA_UP_DOWN_LIBR"
'------------------------------------------------------------------------------------
'------------------------------------------------------------------------------------
Option Explicit 'Requires that all variables to be declared explicitly.
Option Base 1 '... |
' psemu project by sh3-rg
DIM parti% :parti=0 ' 1 object total 0
DIM stat% :stat=1 ' 1 object total 1
DIM anim1% :anim1=2 ' 1 object total 2
DIM stat2% :stat2=3 ' 1 object total 3
DIM anim2% :anim2=4 ' 1 object total 4
DIM stat3% ... |
100 REM Program to demonstrate the CIRCLE statement.
110 SCREEN 1,0:COLOR 0,1 'Set screen
120 KEY OFF:CLS 'Clear screen
130 REM Draw circles of various sizes and colors
140 FOR R=1 TO 90 STEP 5 'Step through 18 radiuses
150 CIRCLE(160,100),R,R MOD 4 'Color based on radius
160 NEXT ... |
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Micromite_GPS_LoRa_Mote_3V94.bas
' IF THEN ELSE structure instead of SELECT CASE for service mode selection in order to allow Micromite Lite
' C Class and Multicast
' Improved UART communication with RN2483
' Main MMbas... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
ControlBox = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
ScrollBars =0
ViewsAllowed =1
TabularFamily =28
PictureAlign... |
Option Explicit
Public Enum eVB
#ENUM#
End Enum
Private Const DLL As String = "msvbvm60.dll"
Private Const NUMBER as Long = #NUMBER#
Private apVB(1 To NUMBER) As Long
Private apIAT(1 To NUMBER) As Long
Private apOld(1 To NUMBER) As Long
'-----------
'--- API ---
'-----------
Private Declare Fu... |
1 REM {0d}{80}__LOADER__
10 RANDOMIZE USR (PEEK VAL "23635"+VAL "256"*PEEK VAL"23636"+VAL"7")
20 PAUSE NOT PI
|
' Program "DEMOCSF2" December 23, 1990
'
' Copyright (c) 1988, 1989, 1990 Crescent Software
'
' This program demonstrates the procedure for calling
' subroutine CSFIT2 which performs a "clamped" cubic
' spline interpolation of X and Y data input by the user.
'
' NOTE: X(1) < X(2) < X(3) < .... < X(N)
... |
rem tests conditional
10 a = 30
15 b = 20
20 if a < b then
30 print "a < b\n"
40 else
50 print "a > b\n"
60 if a = 30 then
70 print "a = 30\n"
80 if b != 30 then
90 print "b != 30\n"
100 end
|
Attribute VB_Name = "modVariableIF_YUMC3"
'
' 신촌세브란스병원 MySQL DB에 QC 결과 등록 기능추가
' (2004/8/29 yk)
' 신촌세브란스병원 i-STAT 장비 전용 (2005/5/26 yk)
'
Option Explicit
Public gfIFDisplayForm As Form
Public gsMachineCd As String
Public gsMachineNm As String
Public gsMachineExe As String
Public giTotIFItemCnt As Integer
Publi... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowEdits = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
... |
10 REM SIMON
100 DIM S(10),R(-1)
110 N=5;B=0;P=#81;;P.$21
120[;LDA #B002;LDY @#FF;LDX #80;DEX;BNE P-1
130 EOR @4;STA #B002;DEY;BNE P-11;RTS
140];P.$6
200 DO;P.$12;@=0;?#E1=0
210 P."THIS TIME, SIMON GIVES YOU "N
215 P.'"LETTERS TO REMEMBER ;"''
220 FOR L=0 TO N-1;T=65+ABSRND%26
230 S?L=T;?#806C=T-64;?#80=160-L*8;LINK#8... |
'Simple Calculator by Pascal Pascalev'
'This is just to test GitHub....'
99
CLS
PRINT "Enter A and B ..."
INPUT A
INPUT B
PRINT "Select Operation ..."
PRINT "1. add +"
PRINT "2. sub -"
PRINT "3. mult *"
PRINT "4. div /"
PRINT "5. exit x"
INPUT op$
IF op$ = "add" GOTO 1
IF op$ = "+" GOTO 1
IF op$ = "1" GOTO 1
IF op$... |
WHILE TRUE
'auto mode
begin_deg = VR(100)
end_deg = VR(101)
mode = VR(7)
safe_pos = VR(211)
corner_active = VR(175)
cycle_start = READ_BIT(0, 12)
bowl_start = READ_BIT(1, 12)
reset_alarm = READ_BIT(4, 12)
filter_in_0 = 1000 * VR(305)
bowl_stop_delay = VR(106) * VR(305) 'stop ... |
REM File: .bas
REM Data:
REM Programmer: Yuriy Lomako
REM Description:
REM -------------------------------------------------------------------
CLS
INPUT "come ti chiami ? ", a$
PRINT "io mi chiamo QBasic e tu ", a$; "!"
INPUT "qual*e il tuo cognome ? ", a$
PRINT "il mio e ******, e te ", a$; "!"
INPUT "quanti annti ... |
Check BC9113DE
Auto 1
10 POKE USR "T", BIN 000000000
20 POKE USR "T"+1,BIN 000101010
30 POKE USR "T"+2,BIN 001010101
40 POKE USR "T"+3,BIN 000101010
50 POKE USR "T"+4,BIN 001011100
60 POKE USR "T"+5,BIN 000101100
70 POKE USR "T"+6,BIN 001010011
80 POKE USR "T"+7,BIN 000100011
110 POKE USR "E", BIN 000000000
120 POK... |
10 REM MINESWEEPER
20 REM NEAL CAVALIER-SMITH
30 CLS : POKE &HFFD9,0
50 DIM A(11,17)
60 L=1:S=0:M=0
70 REM ***
80 REM LAY MINES
90 FOR Y=1 TO 10
100 FOR X=1 TO 15
110 K=RND(25)-L
120 A(Y,X)=46 : REM "."
130 IF K=1 THEN A(Y,X)=64 : REM "@"
140 NEXT X
150 A(Y,1)=46 : REM "."
160 NEXT Y
170 B=5:C=1
180 A(... |
'----------------------------------
'*** PROGRAM: Simple survey test/V2
'----------------------------------
'*** This program, conducts a simple survey...;
' first, the user types in the question to be asked...
' together with a question mark;
' then, the survey begins...
' Each person is invited to answe... |
1: REM ********************************************
2: REM Minderungskorrektur rTC
3: REM von Dietmar Schrausser (c)2014
4: REM ********************************************
5: INPUT „rtc-> „;RTC
10: INPUT „rtt-> „;RTT
20: INPUT „rcc-> „;RCC
30: RTC1=RTC/SQR(RTT*RCC)
40: PRINT „rTC= „;RTC1
50... |
5 rem a@rhb
10 cls
20 input "Any letters";a$
30 n=len(a$)
40 for l=1 to n
50 b$=mid$(a$,l,1)
60 x=asc(b$)
70 c$=chr$(x+1)
80 print c$;
90 next l
100 end |
10 PRINT "u"
20 GOTO 10
|
5 print tab(27);"dr.z"
6 print tab(20);"creative computing"
7 print tab(18);"morristown, new jersey"
8 print:print:print
20 print "hello there, i'm your computer therapist."
30 print "what is your name? and tell me something about yourself."
40 print "however, don't type more than one line. i tire easily."
50 input a$
... |
10 FOR I=1 TO 100 STEP 1
20 IF INT(I/15)/(I/15)=1 THEN PRINT "FIZZBUZZ"
30 IF INT(I/3)/(I/3)=1 THEN PRINT "FIZZ"
40 IF INT(I/5)/(I/5)=1 THEN PRINT "BUZZ"
50 NEXT I
60 END |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14640
DatasheetFontHeight =11
ItemSuffix =4
Right =13515
Bottom =7605
Dat... |
# Basic Package file created
FREE # OPTIONS
CONSTANT 1 # IBOUND Upper Aquifer
CONSTANT 1 # IBOUND Middle Aquifer
CONSTANT 1 # IBOUND Lower Aquifer
9.9900e+02 # HNOFLO
CONSTANT 6.000000000000E+001 # STRT Upper Aquifer
CONSTANT 6.000000000000E+001 # STRT Middle Aquifer
CONSTANT 6.000000000000E+001... |
atom=H
contraction shell=S num_primitives=4 num_coefficients=1
0.754732E+02 0.427821E-02
0.113575E+02 0.328672E-01
0.260081E+01 0.159578E+00
0.735503E+00 0.500000E+00
contraction shell=S num_primitives=1 num_coefficients=1
0.231761E+00 1.0000000
contraction shell=S num_primitives=1 num_coefficients=1
0.741675E-01 1.000... |
1 PAGE
2 INIT
3 GO TO 100
100 PRINT "
PERFORMANCE PREDICTION OF SAILCRAFT"
110 PRINT "
PROGRAM WRITTEN BY ALEX X. GARES"
120 PRINT "
DATE:MAY 28,1980"
130 PRINT "
17K MEMORY BYTES REQUIRED"
140 FOR I=1 TO 2500
150 NEXT I
155 GOSUB 3000
160 PAGE
170 PRINT "IF EXPLANATION OF PROGRAM IS DESIRED"
171 PRINT ... |
REM Exemple de programme de conversion de radian … cosinus
REM Inspir‚e du livre de Robert Van Loo: ®les grandes rŠgles de la programmation Basic¯
INPUT "Angle en Radiants";X!
R!=1
FOR N=8 TO 2 STEP -2
D!=N*(N-1)
R!=1-((X!*X!)/D!)*R!
NEXT
PRINT "Le cosinus vaut";R!
K%=ReadKey |
' Color list | PanCake / IchigoJam BASIC
' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN)
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015
10 'PanCake COLOR LIST
20 VIDEO 0
25 IF VER()>11000 UART 1
30 ?"PANCAKE VIDEO 01
40 ?"PANCAKE CLEAR 00
50 FOR C=0 TO 15
60 X=(C%4)*20
70 Y=(C/4)*11
80 FOR Z=0 TO ... |
'------------------------------------------------------------------------
'Super Draw V1.0 Completely By: Robert Shoemate/Cow Eater
'Cow Eater Freeware 1996
'Email Your Comments At Shoemate@flash.net
'Use The Keypad to draw a picture up to a 1500 line long qbasic program
'if the program is more than 1500 lines the... |
Attribute VB_Name = "TestData"
Sub AddTestData()
SubName = "'AddTestData'"
If View("Errr") = True Then On Error GoTo ErrorText:
Application.ScreenUpdating = View("Updte")
Application.DisplayAlerts = View("Alrt")
Error.DebugTekst Tekst:="Start", _
FunctionName:=SubName
'----Start
Dim StartPos A... |
0 REM ************************
1 REM * - CCESOFT - *
2 REM *OTTO LONGO SERNATI^GER*
3 REM * VERSAO 1.1 05/85 *
4 REM ************************
5 REM * CODIGO MORSE *
6 REM ************************
26 HOME
100 DATA ,.-,-...,-.-.,-..,.,..-.,--.,....,..,.---,-.-,.-..,--,-.,---,.--.,--... |
1 PRINT TAB(33);"TRAIN"
2 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
3 PRINT: PRINT: PRINT
4 PRINT "TIME - SPEED DISTANCE EXERCISE": PRINT
10 C=INT(25*RND(1))+40
15 D=INT(15*RND(1))+5
20 T=INT(19*RND(1))+20
25 PRINT " A CAR TRAVELING";C;"MPH CAN MAKE A CERTAIN TRIP IN"
30 PRINT D;"HOURS LESS THAN A TRAI... |
5 WIDTH 80:JMS F
100 CLS:PRINT "WORLD'S BEST ASSEMBLER": PRINT "(C) 1982 BY THE MICRO WORKS"
110 GOTO 130 :'THIS IS NECESSARY
120 GOTO 140
130 PCLEAR 6:GOTO 120
140 F=(PEEK(188)-14)*256
150 IF F<0 THEN F=0
160 LOADM"AS$/BIN",F
170 A$="THE MICRO WORKS"+CHR$(13)
180 V=VARPTR(A$):V1=INT(V/256)
190 POKE &HE04+F,V1
200 POKE... |
Attribute VB_Name = "Module1"
Public Declare Function TerminateProcess Lib "kernel32" _
(ByVal hProcess As Long, _
ByVal uExitCode As Long) As Long
Public Declare Function OpenProcess Lib "Kernel32.dll" _
(ByVal dwDesiredAccessas As Long, _
ByVal bInheritHandle As Long, _
ByVal dwProcId As Lon... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =13833
DatasheetFontHeight =11
ItemSuffix =6
Right =25575
Bottom =12345
Da... |
10 CLS
20 P$=" "
30 COLOR 15,0,0
40 INPUT"Datei: ",D$
50 IF D$="" THEN GOTO 40
60 CLS
70 OPEN "I",#1,D$
80 N$=INPUT$(20,#1)
90 PRINT N$
|
'.........................Good Version (check options, think there right)
SCREEN 12
D = 1'.......................How far down put text
R = 1'........................How far right put text
OpNum = 1'........................Option number
L = 0'....................Current Line of main text
O = 0'............... |
\******************************************************************************
\******************************************************************************
\***
\*** FUNCTIONS FOR THE DQ FILE
\***
\*** REFERENCE : DQFUN.BAS
\***
\*** Version A Mark Goode 20th Oct... |
10 INPUT N,M
20 FOR T=INT(N/1000) TO INT(M/1000)
21 I=T
30 S=(I-INT(I/10)*10)+(INT(I/10)-INT(I/100)*10)+INT(I/100):L=0:P=9
40 IF S<10 THEN P=S ELSE IF S>=19 THEN L=S-18 ELSE
50 FORJ=LTO P:FOR K=LTOP:FOR N=LTOP
60 IF S=J+K+N THEN C=(((I*10)+J)*10+K)*10+N:IF C<=M AND C>=N THEN PRINT C;:W=W+1
80 NEXT N,K,J,T:PRINT ... |
CHDIR ".\programs\samples\qb45com\action\sfb2"
' SFB2:Vector Warriors `
' by Kevin Reems `
' 1997--1998 `
' Crea... |
Version =21
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularFamily =124
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =1920
DatasheetFontHe... |
'H-fractal
DIM x(2048), y(2048)
SCREEN 12: CLS
WINDOW (-2.4, -1.8)-(2.4, 1.8)
p = 9
a = SQR(1 / 2)
x(1) = 0: y(1) = 0
FOR m = 0 TO p: s = m MOD 2
FOR n = 2 ^ m TO 2 ^ (m + 1) - 1
IF s = 1 THEN GOSUB 160 ELSE GOSUB 190
NEXT n: NEXT m
FOR n = 1 TO 2 ^ (p + 1) - 1
LINE (x(2 * n), y(2 * n))-(x(2 * n + 1), y(2 *... |
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 =7
Right =20040
Bottom =29010
Dat... |
6 REM ====================
7 REM = Start of program =
8 REM ====================
10 LET X=-.5E-100
11 LET B1 = -1..4
22 LET A(1+3) = 8
23 LET A(1+3, 5*8) = 2 + M + A + X
25 DIM A(17)
26 DIM B(3, 20), C(12)
27 DIM B(10, 20)
28 DIM C(3,4)
30 IF Y1 < (10 + A4) THEN 140
40 PRINT X
50 PRINT B
55 REM MARCO
70 PRINT A
72 GOSU... |
10 'CLUB 100 LIBRARY - 415/939-1246 BBS, 937-5039 NEWSLETTER, 932-8856 VOICE
15 'converted to AMSTRAD CPC March 2019 by SRS www.cpcwiki.eu
18 DEFINT z,x,y,a,o,q
20 CLS:S=TIME/3000:FOR I=1 TO S:T=RND:NEXT I:PRINT "House Adventure":PRINT:PRINT"Remember the Imposter is last":Z=0:A=0:L=0:U=0:TN=0:T=0:DK=0:I=0:MI=0:S=0:S... |
0m=87:j=.:w=36:b=-117:n=53280:pOn,0:pOn+1,0:v=54296:d=1904:?"{clear}{gray}use ijkl space"
1t=v-24:p=1524:o=1143:fOi=1top:nE:h=81:?"{clear}":q=1:fOi=0to39:pOo-i,102:pOd+i,102:nE
2g=b:u=o+t:a=0.004:x=75:?"{home}{down} {light gray}{119}{gray}{119}{dark gray}{119} {red}mines {dark gray}{119}{gray}{119}{light... |
DECLARE FUNCTION VerPuntoPoli! (X!, Y!)
'Esta rutina se fija si un punto esta dentro de un poligono
'Por Kronoman - 1 de Enero del 2001 - PRIMER DIA DEL MILENIO!!!!
'Basado en una rutina en Delphi
'
'FUNCIONA PERFECTAMENTE BIEN!!!! TRADUCIR A C++!!!!!
'
'Constante
PI = 3.141592654#
PI = PI / 180 'HAGO ESTO, Y ME AHOR... |
10 DIM B(7000)
20 CLEARW 2
30 GOSUB 540
40 HP=1:Z=1
50 VP=1
60 HS=4
70 VS=2
80 INPUT"BACKGROUND COLOR";C0
90 INPUT"COLOR 1";C1
100 INPUT"COLOR 2";C2
110 INPUT"COLOR 3";C3
120 CLEARW 2
130 GOSUB 600
140 HG=HS*HP
150 VG=VS*VP
160 HE=HG+(HS-1)
170 COLOR 1,6,CL,0,0... |
'128 8
'10 00 10 00
' 32 2
'00 10 00 10
'128 64 32 4
'11 10 01 00
DEF SEG = &HB800
SCREEN 1
POKE 288, 228
n = 300
n = n XOR 8192
PRINT n
POKE n, 136
n = n XOR 8192
PRINT n
POKE n, 34
PRINT 128 OR 8
|
!--------------------------------------------------
!- Saturday, May 20, 2017 1:33:44 AM
!- Import of :
!- c:\src\zelch128\extras\dat.create.prg
!- Unknown Machine
!--------------------------------------------------
5 :::::::::::::::::::::::::::::::::::::INPUT"unit,drive:";U,D
10 OPEN2,U,2,MID$(STR$(D),2)+":dat... |
1 %TITLE "Maintain the Menu"
%SBTTL "UT_SPEC_MENUMAINT"
%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 inclu... |
10 PRINT TAB(32);"CALENDAR"
20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
30 PRINT:PRINT:PRINT
100 REM VALUES FOR 1979 - SEE NOTES
110 DIM M(12)
120 FOR I=1 TO 6: PRINT CHR$(10);: NEXT I
130 D=1: REM 1979 STARTS ON MONDAY (0=SUN, -1=MON, -2=TUES...)
140 S=0
150 REM READ DAYS OF EACH MONT... |
10 REM 'TICK(0)' TEST PROGRAM
20 PRINT "TIME IS MARCHING ON"
25 while tick(0) and 1 : wend ' sync a bit
30 A=TICK(0)
40 REM FOR X=1 TO 2000
45 WAIT 300
50 REM NEXT X
60 B=TICK(0)
70 IF B > A THEN 100
80 PRINT "THE 'TICK(0)' FUNCTION FAILED THE TEST"
90 GOTO 999
100 PRINT "'TICK(0)' PASSED THE TEST -- ELAPSED TIME=";B-A... |
Attribute VB_Name = "ModNote"
'******* 2005-11 ************
'全局变量g_iMatchStation取自表ScadaSysDefine中环境设置->适用厂站: 0:电厂自动化; 1:调度自动化; 2:变电站自动化; 3:综合自动化
'2005-11-08 遥控与挂牌操作类型分离,在ScadaSysDefine表中增加了功能设置->挂牌操作!程序作相应修改。
'将更新画面的方式由原来的先删除后插入方式改为更新(Update)方式,避免双机热备方式下更新时出现错误。
'******************************************* ... |
'All variables will be of type LONG unless explicitly defined
DEFLNG A-Z
'All arrays will be dynamically allocated so they can be REDIM-ed
'$DYNAMIC
'We need console access to support command-line compilation via the -x command line compile option
$CONSOLE
'Initially the "SCREEN" will be hidden, if the -x option is ... |
Attribute VB_Name = "Return_Welds"
Option Explicit
Private Const BraceHB = 200 'The distance between the cross brace that goes across the weld and the first brace on the panel
'Private Const HalfBraceLength = 287.5 'Half the length of the brace that goes across the weld
Private HalfBraceLength As Double 'Half the le... |
!--------------------------------------------------
!- Tuesday, July 18, 2017 2:54:26 AM
!- Import of :
!- c:\src\zimodem\cbm8bit\src\irc64-128.prg
!- Commodore 64
!--------------------------------------------------
1 REM IRC64/128 1200B 1.8+
2 REM UPDATED 08/19/2017 02:58A
10 POKE254,PEEK(186):IFPEEK(254)<8THENPOKE2... |
PRINT "There are two doors one left and one right."
start:
INPUT "Would you like to go through the left door or the right door.? (1 for the left door, 2 for the right door): ",n
IF n <> 1 THEN
GOTO right
GOTO left
END IF
left:
PRINT "There is a small key on the floor. You take it and head back."
i = 1
GOTO star... |
CLS
SCREEN 0
COLOR 15,0
LOCATE 2,2
PRINT "GRANáTOMET Má GRANáTY(viz hvězdy)JEN NA JEDEN DáVKOVí VýSTřEL :*****"
LOCATE 3,2
INPUT " Má-LI SE VYSTřELIT STISKNI *ENTER* " ;V
FOR A=2 TO 71
FOR I=0 TO 600
NEXT I
CLS
LOCATE 10,A
PRINT "*"
NEXT A
LOCATE 10,69
PRINT "XO*OX"
FOR K2=0 TO 550
NEXT K2
END |
DECLARE SUB makeblocks ()
COMMON SHARED x1, y1, x2, y2, xinterval, yinterval, hit, score, paddle1, paddle2, y$, block1, block2, block3, block4, block5
DECLARE SUB blocks ()
DIM SHARED block(25)
SCREEN 12
SLEEP 3
CLS
block(5) = 10
block(10) = 9
block(15) = 9
block(20) = 10
block(25) = 10
LET x1 = 200
LET y1 = 110
... |
1 SCREEN0:WIDTH40:DEFUSR=&HC000:FORI=&HC000TO0:READV:IFV<>-1THENPOKEI,V:NEXT
2 A=USR(0):FORI=0TOA:READS,A$:NEXT:PRINT"VDP detected: "+A$:PRINT
3 IFS=0THENPRINT"This demo will not run properly on this"
4 IFS=0THENPRINT"machine. Its probably a too modern MSX"
5 IFS=0THENPRINT"(TR or WSX) or it is using genlock."
6 ... |
GOSUB Print.Headings
GOSUB Read.Process
GOSUB Print.Results
END
Print.Headings:
H1$ = " BIWEEKLY PAYROLL REPORT - J. Gavin Ray"
H2$ = "Employee Gross Federal Net"
H3$ = "Number Pay Tax Income"
H4$ = "-------- ------- ------- ------"
D1$ = "### ####.## ... |
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... |
REM File: .bas
REM Data:
REM Programmer: Yuriy Lomako
REM Description:
REM -------------------------------------------------------------------
CLS
INPUT A
INPUT B
'IF A > B THEN GOTO 50
'IF B > A THEN GOTO 100
50 A = A - B
B = A + B
A = B - A
PRINT A
PRINT B
END
'100 B = B - A
'A = A + B
'B = A - B
'PRINT A
'PRINT ... |
100 REM <CTRL-J><CTRL-J>PROGRAM TITLE<CTRL-J>
110 GOTO 400
200 HTAB (22 -( LEN(H$)/2)): PRINT H$: RETURN
300 VTAB 7:H$ = "E T E R N A L C A L E N D A R": GOSUB 200
310 VTAB 11:H$ = "BY PAUL IRWIN": GOSUB 200: RETURN
400 POKE 768,173: POKE 769,48: POKE 770,192: POKE 771,136: POKE 772,208: POKE 773,4: POKE 774,... |
10 FOR M=1 TO 12
20 PRINT M*12
30 NEXT M
40 END
|
10 CLS
SCREEN 13
VIEW (0, 0)-(300, 170), 0
15 LINE (0, 160)-(300, 165), 0, BF
LOCATE 24, 1
PRINT " "
LOCATE 24, 1
PRINT score
LINE (170, d)-(174, d + 4), 0, BF
d = d + 4
LINE (170, d)-(174, d + 4), 14, BF
IF a = 4 AND d = 160 THEN scroe = score + 1
IF d = 160 AND a = 1 OR a = 2 OR a = 3 OR a = 5 OR a = 6 ... |
100*INIT
110DT=7.13:DT$="0":BS$="10"
120*MENU
130KY$=""
140*MENU2
150LOCATE 0,0:PRINT " ***** n ¼Ý ´Ý»ÞÝ ***** "
160PRINT " 1:Ƴخ¸ 2:ÍÝ¶Ý "
170PRINT " 3:ν³ 4:¹²»Ý "
172PRINT " "
174LOCATE 0,5:PRINT " "
180IF DT=7.13 THEN DT=0:LOCATE 0,4:PRINT "... |
DECLARE FUNCTION rou$ (num!)
DECLARE SUB plot (ox!, oy!, oz!, x!, y!, z!)
CONST pi = 3.141592654#
COMMON SHARED writing%
RANDOMIZE TIMER
SCREEN 13
writing% = 0
DO
IF writing% = 0 THEN
frames = 10
am = INT(RND * 5)
bm = INT(RND * 5)
cm = INT(RND * 5)
dm = INT(RND * 5)
em = INT(RND * 5)
fm = INT(RND * 5)
... |
DECLARE SUB Save ()
DECLARE SUB Load ()
DECLARE SUB ViewRecord ()
DECLARE SUB Search ()
DECLARE SUB HoldIt ()
COMMON SHARED v
ON ERROR GOTO HAN:
DIM SHARED c$(10000)
CLS
Load
Main:
CLS
LOCATE 3, 1: PRINT " Quick Basic Facts Manager"
LOCATE 8, 1: PRINT " 1. Enter record"
LOCATE 10, 1: P... |
1 ! Convert robisons customer file
option size = (integer long, real gfloat)
%include "source:[ar.open]ar_35custom.hb"
map (ar_35custom) ar_35custom_cdd ar_35custom
100 open "rcust." for input as file 1%, &
recordsize 512%
110 map (XXX) robmac$ = 512%
120 map (XXX) &
rob.cusnum$ = 10%, &
rob.code$ = 7%, &... |
10 PRINT "BOOMERANG PUZZLE FROM ARITHMETICS OF NICOMACHUS — A.D.901"
20 PRINT
30 PRINT "PLEASE THINK OF A NUMBER BETWEEN 1 AND 100."
40 PRINT "YOUR NUMBER DIVIDED BY 3 HAS A REMAINDER OF";
45 INPUT A
50 PRINT "YOUR NUMBER DIVIDED BY 5 HAS A REMAINDER OF";
55 INPUT B
60 PRINT "YOUR NUMBER DIVIDED BY 7 HAS A REMAINDER OF... |
IF usercommand$(runcommands) = "hide" AND usercommands = 1 THEN
_SCREENHIDE
screenstate = 0
speechoutput$ = ""
speechprint$ = ""
GOSUB textprint
GOSUB speechoutput
usercommands = -1
END IF
|
Attribute VB_Name = "Tester"
Sub GenerateTable1()
'
' GenerateTable1 Macro
'
'
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=6, NumColumns:= _
8, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Ta... |
10 DEF FNF(X) = X^5 + 2*X^3 - 1
20 READ A,B
30 LET X = (A+B)/2
40 IF FNF(X) = 0 THEN 100
50 IF FNF(X) < 0 THEN 70
60 LET B = X
65 GOTO 80
70 LET A = X
80 IF ABS(A-B)/(ABS(A)+ABS(B)) < 5E-7 THEN 100
90 GOTO 30
100 PRINT "ONE ZERO AT" X
900 DATA 0,1
999 END
|
10 REM INPUT.BAS -- Test INPUT Statement
20 PRINT "INPUT.BAS -- Test INPUT Statement"
30 REM
40 INPUT "Input string, number: "; s$, n
50 PRINT "The string is: ";s$
60 PRINT "The number is: ";n
70 END
|
DIM AS INTEGER N,K,I,S,F
INPUT K
N = 2 * K
DIM AS INTEGER A(N), B(N)
FOR I = 1 TO N
A(I) = I
NEXT I
DO
FOR I = 1 TO N
B(I) = 0
NEXT I
FOR I = 1 TO K
B(I * 2) = A(I)
NEXT I
FOR I = K + 1 TO N
B((I - K) * 2 - 1) = A(I)
NEXT I
S = S + 1
FOR I = 1 TO N
A... |
5 ONERRORGOTO500
10 IFp=<0 ORp>=1 THEN*
20 y=-LN(4*p*(1-p))
30 x=.5824238515E-5+y*(-.104527497E-5+y*(.8360937017E-7+y*(-.3231081277E-8+y*(.3657763036E-10+y*.6936233982E-12))))
40 x=SQR(y*(1.570796288+y*(.03706987906+y*(-.8364353589E-3+y*(-.2250947176E-3+y*(.6841218299E-5+y*x))))))
50 IFp>.5 THENx=-x
80 y=x:RETURN
500 I... |
'File wm_updateInit.bas 0+DATE$++Time$
CSUB wm_updateInit
00000000
681B4B01 477061D8 0800031C
End CSUB
|
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Thus.fq
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWor... |
10 print "opening port..."
11 open 1,2,0,chr$(10)
12 gosub 1000: if ec <> 0 then close 1:end
15 print "type your message:"
20 for i = 0 to 2
30 input m$
40 print#1, m$ + str$(i) + chr$(13) + chr$(10)
50 gosub 1000
50 next i
60 print "waiting for reply..."
70 get #1, a$: ec = st: if ec = 8 then goto 70
80 if ec <> ... |
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 = "Code"
Option Explicit
Public RunTwice As Boolean
Sub WipeData()
Sheets("Main").Select
Sheets("Main").Range("AA2:AQ10000") = ""
Sheets("Main").Range("AA2:AQ10000").Borders(xlDiagonalDown).LineStyle = xlNone
Sheets("Main").Range("AA2:AQ10000").Borders(xlDiagonalUp).LineStyle = xlNone
... |
10 CLEAR 49151
20 LOAD ""CODE 49152
30 LET total=0
40 LET address=49152
50 LET s$=""
60 LET c$=CHR$ PEEK address
70 LET address=address+1
80 IF c$=CHR$ 10 THEN GO TO 110
90 LET s$=s$+c$
100 GO TO 60
110 LET total=total+VAL s$
120 IF address<52614 THEN GO TO 50
130 PRINT total
|
10 CLEAR 1000:MAXFILES=2:OPEN "Карась" FOR OUTPUT AS#2
30 A$="FLOPPY DISK":E=45:F=54.8
50 PRINT #2,A$;","; '░WW Последний символ ";" !
60 PRINT #2,E;",";F '░WW Последний символ "пробел" !
70 CLOSE #2
|
10 rem
12 input x1,y
13 if x1 < y then goto 15
14 z =x1-y
11 goto 16
15 z = x1 + y
16 print x1, y, z
17 for i = 1 to 12 step 5
18 print i
19 next i
20 input st$
21 print "$", st%
22 read x
23 if x >= y1 then x = y^3
24 print # x1
25 end |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =15780
DatasheetFontHeight =11
ItemSuffix =122
Right =15732
... |
10 PRINT "ARE YOU ADVENTURLAND ADVENTURERS READY FOR ANOTHER?"
20 PRINT
30 PRINT " ADVENTURLAND VERSION 2"
40 PRINT " PROGRAMMED AND WRITTEN BY CHRISTINA FRANCK"
50 PRINT
60 PRINT "IN THIS ADVENTURE YOU ARE IN A SUBMARINE WITH DR. HOWARD"
70 PRINT "EXPLORING THE VERY BOTTOM OF THE ATLANTIC OCEAN. YO... |
1 Cls
2 Input "INTRODUCE DIFICULTAD 1-7: ",DIF
5 CONT=0
6 CONT2=0
7 Color 7,5
8 EY=108
9 VELEY=0
10 BX=120
20 BY=108
30 VELBX=0
40 VELBY=0
41 U=0
42 D=0
50 PY=108
60 A$=Inkey$
61 If A$="S" And VELBX=0 And VELBY=0 Then
62 VELBX=(Rnd-2)*4
63 VELBY=(Rnd-2)*4
64 EndIf
65 VELEY=(BY-EY-15)/Abs(BY-EY-15+1)
... |
100 tilde="~"
110 dquote=chr(34)
120 groupname=""
130 editor=""
140 language=""
150 copyright=""
160 extension=""
170 fname=""
180 fext=""
190 if argc () < 1
200 then
210 print "Version <filename> [<groupname>] [/NOEDIT]"
220 end
230 end if
240 groupflag = 0
250 slashflag = 0
260 slashcode = ""
270 if argc () > 1
280 t... |
2 rem for cia#2, use forj=56576to56591 in line 30
4 rem lines 50 & 120 handle bit pattern
10 print "{clear}"
20 print "{home}"
30 for j=56320 to 56335
40 print j;: p=peek(j)
50 q=p/256: for k=1 to 8: q=2*q: print int (q)"{left}";: q=q-int(q): next
60 print " " p "{left} "
70 next
80 get x$: if x$="" goto 20
... |
'******** PROGRAM GAUSS_R2 **********
'* GAUSS ELIMINATION METHOD *
'* GENERAL MATRIX *
'* T.R.Chandrupatla and A.D.Belegundu *
'**************************************
DEFINT I-N: CLS : COLOR 1, 3
LOCATE 1, 1: PRINT "GAUSS ELIMINATION METHOD to solve Ax... |
10 REM MULTIPLE STATEMENTS PER LINE
20 LET A=10\LET B=20
30 PRINT A\PRINT B
90 END
|
REM File: .bas
REM Data:
REM Programmer: Yuriy Lomako
REM Description:
REM -------------------------------------------------------------------
CLS
S = 4 'RASMER MASSIVA A$
DIM A$(S)
DATA "EVEREST 3.L'ULTIMA SFIDA"
DATA "KLINKUS KORTECCIA E IL TORRENTE DI POLVERE"
DATA "KLINKUS KORTECCIA E LA PRIMAVERA SCOMPARSA"
D... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
W... |
10 INTEGER C9,R9,C8
20 DIM O1$[2],P1$[2]
30 DIM L$[8],G$[20],A$[20],G1$[20],A1$[20]
40 DIM E1$[4]
110 E1$='27"H"'27"J"
120 E2$='27"H"
130 E3$='27"K"
140 E4$='27"m"
150 E5$='27"l"
160 FOR N2=1 TO 8
170 CONVERT N2 TO N2$
180 L$[N2]=N2$
190 NEXT N2
200 PRINT E1$
210 *PAUSE(.5)
220 PRINT LIN(2);SPA(... |
1 %TITLE "Order Status Summary"
%SBTTL "OE_RPRT_REGSUMMARY2"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1995 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... |
Attribute VB_Name = "ModRegistry"
Option Explicit
Public CekSetting As Boolean, cekLoad As Boolean
Sub ForceCacheRefresh()
Dim hKey As Long
Dim dwKeyType As Long
Dim dwDataType As Long
Dim dwDataSize As Long
Dim sKeyName As String
Dim sValue As String
Dim sData As String
Dim... |
$compile chain
cls
chain "lbas"
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.