text
stringlengths
7
5.36M
10 PRINT -1 <= 0 20 PRINT 0 <= 0 30 PRINT 1 <= 0
Attribute VB_Name = "modErrorHandler" Option Compare Database Option Explicit 'VGC 04/04/2016: CHANGES! Private Const THIS_NAME As String = "modErrorHandler" ' ** Public Function zErrorHandler(strModuleName As String, strFunctionName As String, Optional varErrNum As Variant, Optional varLineNum As Variant, ...
'Errechnet die Primzahlen bis zur angegebenen Zahl und speichert sie unter 'C:\Eigene Dateien\Rafael\Prim.txt SCREEN 12 OPEN "C:\Eigene~1\Rafael\Prim.txt" FOR OUTPUT AS #1 grenze = 999999 'bis hier wird gerechnet. 'zeile = 80 'maximale Anzahl der Zeichen pro Zei...
READ n$, m1, m2, m3 WHILE n$ <> "end" m4 = (m1 + m2 + m3) / 5 t3 = t3 - m3 IF m4 < 50 THEN PRINT "fail" ELSE IF m4 >= 90 THEN PRINT "credit" ELSE PRINT "star" END IF END IF READ n$, m1, m2, m3 WEND PRINT t1 / n, t2 / n, t3 / n END DATA "nad...
'********************************************************************** '* LEDB * '*--------------------------------------------------------------------* '* Task : Sets the various bits in the BIOS keyboard * '* flag, ...
DEFINT A-Z SCREEN 13 CLS w = 8 h = 8 m = 320 \ w FOR x = 0 TO 319 STEP w FOR y = 0 TO 199 STEP h c = x \ w + m * (y \ h) LINE (x, y)-(x + w, y + h), c, BF 'LOCATE y \ h + 1, x \ w * 2 + 1 'PRINT LTRIM$(STR$(c)); NEXT y NEXT x
10 REM TEST TARGET LINE NUMBER PRECHECK 20 PRINT "START PROGRAM" 30 LET A = 20 80 ON A GOTO 20,30,40,50 90 PRINT "END PROGRAM" 99 END
DEFINT A-Z 'declarations DECLARE SUB Titolo () ' Runprogram CLS Titolo LOCATE 23, 1 PRINT "Premere un tasto per continuare" x$ = INPUT$(1) IF x$ = INKEY$ THEN GOSUB MENU MENU: LOCATE 5, 12 RUN "pit" END SUB Titolo 'titolo del programma ' 'sfondo COLOR 7, 1: CLS 'titolo 'variabili a$ = "╔": b$ = "═...
10 s=54272 15 poke s+14,114:poke s+15,10 16 poke s+3,8:poke s+2,0:poke s+14,255:pokes+15,3:poke s+18,32 18 poke s+24,15 20 poke s+5,15:poke s+6,240 30 poke s+4,19 50 for t=1 to 80:poke s+1,t+0:next 55 for t=80 to 1 step -1:poke s+1,t+50:next 70 goto 30
10 :REMARK \t\tSPELLING.BAS\tVersion 04.23.81 20 CLEAR 4000:ON ERROR GOTO 340 30 E$=CHR$(27):P$=E$+"p":Q$=E$+"q":Y$=E$+"Y" 40 X1$=E$+"x1":Y1$=E$+"y1":Y5$=E$+"y5"+Q$:X5$=E$+"x5":J$=E$+"J": 50 CS$=E$+"H"+E$+"E"+P$+Y$+" 0 Spelling Quiz "+Q$+Y$+"# " 60 PRINT CS$Y$"#(I will give you a sentence which has one word in it that"...
10 DEFINT A-Z:KEY OFF:PRINT "*** Graph Drawing ***":PRINT "" 20 L=0:LT=0:S#=0:M#=0:Y=1:DIM LABEL$(2048),VALUE#(2048) 30 PRINT "Hint: Input a single comma to start drawing." 40 WHILE 1: INPUT "Label,Value: ",T$,D$: IF T$="" OR D$="" THEN GOTO 80 50 D#=VAL(D$): L=L+1: S#=S#+D#:IF D#>M# THEN M#=D# 60 K=LEN(T$)+9:IF K...
10 DEF FNP(X)=X^2+X+1:S=0 20 FOR K=1 TO 7 30 S=S+FNP(K) 40 NEXT K 50 PRINT S:END 
REM >!RunImage REM BarCode wimp front end proggy. : REM -- Greetings tired Hacker, REM Go rest you curious head, REM For if you keep looking at my code, REM The shock will strike you dead! : PROCinit : WHILE NOT quit% PROCpoll ENDWHILE SYS "Wimp_CloseDown" END : DEF PROCinit maxws%=&300 DIM block% 255,name% 11...
REM Basic program for 'time-series' graph 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 ...
Operation =1 Option =0 Where ="(((tbl_GPS_Info.Flag)=True) AND ((tbl_GPS_Info.Location_ID) Is Not Null))" Begin InputTables Name ="tbl_GPS_Info" End Begin OutputColumns Alias ="GPS_year" Expression ="IIf(IsNull([GPS_date])=False,CStr(Year([GPS_date])))" Expression ="tbl_GPS_Info.Location_ID" Alias ...
atom=H contraction shell=S num_primitives=3 num_coefficients=1 4.501800 0.070452 0.681444 0.407826 0.151398 0.647752 atom=He contraction shell=S num_primitives=3 num_coefficients=1 13.626736 0.080241 1.999349 0.409143 0.382993 0.657278 atom=Li contraction shell=S num_primitives=3 num_coefficients=1 35.04615 0.073760 5....
1 print"{clear}":ra=0:in=.2:rem poke808,225:poke775,200 2 poke53280,1:poke53281,1:gosub3000 3 poke52,48:poke56,48 4 poke53272,(peek(53272)and240)+12 5 poke56334,peek(56334)and254 6 poke1,peek(1)and251 7 for i=0 to 511:pokei+12288,peek(i+53248):next 8 poke1,peek(1)or4 9 poke56334,peek(56334)or1 10 for i=12288 t...
10 BORDER 0: PAPER 5: CLS 20 INPUT "KX:"; KX, "KYl:";KY, "D:"; D 30 FOR E=0 TO 21 40 LET X=-KX+E*D/22 50 FOR S=0 TO 31 60 LET Y=-KY+S*D/22 70 LET C=INT(X*X+Y*Y)/2 80 IF C=INT(C) THEN PRINT AT E,S; PAPER2; " " 90 NEXT S: NEXT E
10 input"nombre de chaudiere",n 20 dim p(n) 30 for x=1 to n step 1 40 input "puissance de la chaudiere x ",p(x) 50 next x 60 for x=1 to n 70 print p(x) 80 next x
Attribute VB_Name = "FreeMemory" Option Explicit Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, ByRef phkResult As Long) As Long Private Declare Function RegCloseKey Lib "advapi32" (ByVal h...
100 ' FPOS sample 110 OPEN "FDATA.DAT" FOR OUTPUT AS #1 120 PRINT FPOS(1):PRINT 130 FOR I=1 TO 5 140 PRINT #1,STRING$(126,"1") 150 PRINT #1,STRING$(126,"1") 160 PRINT FPOS(1) 170 NEXT I 180 END
DECLARE SUB d40 (char$, xx!, xy!, xc!, lx$) SCREEN 9: CLS CALL d40("°¡", 0, 0, 11, "s") SUB d40 (char$, xx, xy, xc, lx$) OPEN "d:\ucdos\fnt\hzk40" + lx$ FOR RANDOM AS #1 LEN = 1 FIELD #1, 1 AS f$ FOR k = 1 TO LEN(char$) STEP 2 qm = ASC(MID$(char$, k, 1)) - 161 wm = ASC(MID$(char$, k + 1, 1)) - 161 IF qm < 0 OR wm < 0 ...
Attribute VB_Name = "CodeZAF" ' (c) Copyright 1995-2023 by John J. Donovan (credit to John Armstrong for original code) Option Explicit ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ' in the Software witho...
Highspeed BASIC named 'D' ok 1 GOTO60000 10 PRINT"SELECT: 1) RANDOM LINES (WITH RANDOM SOUNDS) 2) SLOW PONG (GAME PROGRAM) 3) DRAWING PROGRAM (DRAW YOUR OWN HI-RES PICTURES)" 15 PRINT:PRINT" 4) INCORRECT DRIVER" 16 PRINT" VERSION ASSUM...
10 READ N,B,P 20 FOR I = 2 TO N 30 READ A,M 40 FOR K = 0 TO M-1 50 LET X = B + K*P 60 IF X - M*INT(X/M) <> A THEN 70 65 BREAK 70 NEXT K 75 IF K < M-1 THEN 100 80 PRINT "ERROR" 90 STOP 100 LET P = P*M 110 LET B = X 120 NEXT I 130 PRINT "X IS CONGRUENT TO " B; " MODULO " P 900 DATA 4 ...
ADDRESS = &H300 TXADDRESS = ADDRESS + 0: REM write transmit buffer RXADDRESS = ADDRESS + 0: REM read receive buffer CTRLADDRESS = ADDRESS + 1: REM write only STATUSADDRESS = ADDRESS + 1: REM read only CTRLBYTE = 8 + 16 + 64 REM reset tpuart CTRLBYTE = CTRLBYTE ...
5 REM Original TRS-80 version of Planet Miners 10 CLS : PRINT : PRINT : PRINT "THE PLANET MINERS!" 20 PRINT "EXPANSION INTO THE SOLAR SYSTEM." 30 PRINT : PRINT "COPYRIGHT 1980 BY AVALON HILL MICROCOMPUTER GAMES" 80 DATA "SUN",0,0,0,"MERCURY",57.9,7.1381306E-2,3,"VENUS",108.2,2.7972187E-2,0 110 DATA "EARTH",149.6,1...
atom=H contraction shell=P num_primitives=1 num_coefficients=1 0.800000 1.000000 atom=He contraction shell=P num_primitives=1 num_coefficients=1 1.000000 1.000000 atom=Li contraction shell=P num_primitives=1 num_coefficients=1 0.170000 1.000000 atom=Be contraction shell=P num_primitives=3 num_coefficients=1 3.631691714...
0 background=1 5 poke 55,255:poke 56,31 6 dim p(7):for i=0 to 7:p(i)=2^(7-i):next 10 v=53248:poke v+32,0:poke v+33,0 30 poke v+24,peek(v+24) or 8 40 poke v+17,peek(v+17) or 32 50 for i=1024 to 2024:poke i,ba:next 60 for i=8192 to 8192+8*1024:poke i,0:next 100 x=79:y=49:dx=int(rnd(1)*3-1):dy=int(rnd(1)*3-1):if d...
PRINT "What is your firstname" INPUT FName$ PRINT "What is your surname" INPUT SName$ PRINT "Hello "+FName$+" "+SName$
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault DataEntry = NotDefault AllowDesignC...
5000 rem ** location description ** 5010 rem ** location 4 ** 5020 print"you are outside a large building" 5030 n=0:e=0:s=1:w=0:return 5040 rem ** location 7 ** 5050 print"you are by a fastflowing river" 5060 n=0:e=1:s=0:w=0:return 5070 rem ** location 8 ** 5080 print"you are in a petrified forest" 5090 n=0:e=0:s=1:w=1...
5 MEMORY &3FFF 10 LOAD"romdump.bin",&8000 20 PRINT "ROM DUMPER" 30 INPUT "Which ROM (LOW or number)? ",rom$ 40 IF LOWER$(rom$)<>"low" THEN GOTO 110 45 REM ** LOW ROM 50 PRINT "Dumping LOW ROM..." 60 CALL &8000 70 GOTO 200 105 REM ** HIGH ROMS 110 romnum = VAL(rom$) 120 PRINT "Dumping upper ROM ";romnum 130 ...
#INCLUDE ONCE "battle.bi" DIM SHARED BattleFirstDo AS INTEGER SUB BATTLE_Reset () BattleFirstDo = 1 END SUB SUB BATTLE_AddWarrior (team AS INTEGER, isPlayable AS INTEGER) DIM w AS tWarrior IF team = 0 THEN w.x = 3: w.y = 7 ELSE w.x = 76: w.y = 7 END IF w.strTop = "\-/" w.strMid = "o o" w.strBot = "...
' TOS.FRM Option Explicit Dim m001A As Variant Sub sub5BC8 () If tos.Height = 2520 Then tos.Height = 3915 Else tos.Height = 2520 End If End Sub Sub Command3D1_Click () Dim l003C As Variant Dim l0042 As Variant Dim l0048 As Variant Dim l004C As String Dim l0050 As Variant Dim l0054 As Variant Dim l005A As Variant Dim...
Attribute VB_Name = "modEMAttach" Option Explicit Public Function SendOutLookMail(EM_TO, Em_CC, EM_BCC, EM_Subject, EM_Body, EM_Attachment As String, EM_Attachment1 As String, Display As Boolean, Optional EM_HTMLBody As String) '<EhHeader> On Error GoTo SendOutLookMail_Err '</EhHeader> ...
RANDOMIZE TIMER CLS yy = 1 FOR z = 1 TO 1840 PRINT CHR$(9); NEXT z 10 x = INT(80 * RND) + 1 y = INT(23 * RND) + 1 LOCATE y, x: PRINT CHR$(10) xx = xx + 1 IF xx = 80 THEN xx = 1: yy = yy + 1 IF yy = 24 THEN PRINT a: END f = SCREEN(yy, xx) LOCATE yy, xx: COLOR 15: PRINT CHR$(9) IF f = 10 THEN SOUND 1000, .1...
10 A=10 20 GOSUB 100 30 A=20 40 GOSUB 100 50 END 100 PRINT A ' 110 RETURN
10 SCREEN 8 FOR I% = 0 TO 10 COLOR I% PRINT I% BEEP NEXT I% PRINT "COOL!" PRINT "THESE ARE NUMBERS FROM 1 TO 10, DO YOU WANT TO PLAY AGAIN?(Y OR N)" INPUT A$ IF A$ = "Y" THEN 10 IF A$ = "N" THEN 20 20 PRINT "BYE!" 40 PRINT "THIS GAME IS UNREGESTERED. GIVE BEN $0.13 IF YOU LIKE THE GAME. " 50 PRINT "(THIS ...
Attribute VB_Name = "modWriteLog" Option Explicit Public strLogFileName As String Public gstrLogFileName As String Public Sub WriteLog(ByVal Str As String, Optional ForceWrite As Boolean = False, Optional ByVal LogFileName As String = "", Optional ByRef lstLog As VB.ListBox) '<EhHeader> On Error GoTo Wr...
TYPE NUMS NOMBRE AS STRING * 20 SEPARA AS STRING * 1 END TYPE DECLARE FUNCTION NAT$ (NUM!, LLENG!) DIM SHARED NUM AS NUMS DIM SHARED NOMBRE$(1000, 2) NOMBRE$(0, 1) = "ZERO": NOMBRE$(0, 2) = "CERO" NOMBRE$(1, 1) = "UN": NOMBRE$(1, 2) = "UNO" NOMBRE$(2, 1) = "DOS": NOMBRE$(2, 2) = "DOS" NOMBRE$(3, 1) = "TRES...
0 ' 1 ' Easy-Windows. 2 ' Fenˆtres textes : Programme de d‚mo No 4. 3 ' Affichage d'un catalogue. S‚lection d'une ligne. 4 ' 5 ' Auteur Easy-Windows : Pierre-Jean Goulier. 6 ' ½ Start Micro & P-Jean Goulier. 7 ' 8 ON ERROR GOTO Erreur 9 ' 10 Easy_Init 11 Win_Getwork(Desktop%L,Xdesk%L,Ydesk%...
10 FOR I=0 TO 13:READ V 20 OUT &HA0,I:OUT &HA1,V 'Имитация действия оператора SOUND I,V 30 NEXT:END 100 DATA 0,0,0,0,0,0,30,&HB7,16,0,0,0,90,14 
10 CLS PRINT "Dieses Proramm nicht mehr ausfhren!!!" END OPEN "high.scr" FOR INPUT AS #1 INPUT #1, a$, a, b$, b, c$, c PRINT a$; a PRINT b$; b PRINT c$; c CLOSE OPEN "high.scr" FOR OUTPUT AS #1 INPUT "Name:"; d$ IF d$ = "" THEN d$ = "NO NAME" INPUT "Punkte"; d IF d > a - 1 THEN PRINT #1, d$: PRINT #1, d ...
Attribute VB_Name = "MultiAlign" '************************************* TEMPORARY ************************************************* Public m, s, u As Byte ' Alinieri_Multiple Public vv As Byte ' Alinieri_Multiple Public BaseDTime As String ...
100 REM ####################################################################### 110 REM 120 REM Prediction of LF field strength and phase to be received at a 130 REM fixed point based on wave hop method in Rec. ITU-R P. 684 140 REM by 150 REM N. Wakai 160 ...
1000 ti$="000000":Z=0 1010 for t=1 to 1000:x(z)=x(z)+1:next 1020 print ti 1021 ti$="000000" 1022 for t=1 to 1000:x0=x0+1:next 1030 print ti 1040 end
10 PRINT "Spam is good" 20 PRINT "You can stop this by either typing CTRL+C or the RUN/STOP key, if you're on a Commodore 64, I suggest you do before this explodes your computer." 30 GOTO 10
class CTestApp base; CWinApp; public mf; none; CTestApp; public mf; BOOL; InitInstance; public mf; afx_msg void; OnAppAbout; public md; COleTemplateServer; m_server; public *** class CInPlaceFrame base; COleIPFrameWnd; pubic mf; none; CInPlaceFrame; public mf; BOOL; OnCreateControlBars; public mf; B...
'Ordnet Zeichenfolgen CLS INPUT "Anzahl der Elemente "; n DIM a$(n) FOR i = 1 TO n PRINT i; ". Element"; INPUT a$(i) NEXT i FOR i = 1 TO n - 1 k = i FOR j = i + 1 TO n IF a$(j) < a$(k) THEN k = j NEXT j IF k > i THEN h$ = a$(i): a$(i) = a$(k): a$(k) = h$ NEXT i PRINT : PRINT FOR i = 1 TO n PRINT i,...
Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit '------------------------------------------------- ' Picture functions using GDIPlus-API (GDIP) | ' (c) mossSOFT / Sascha Trowitzsch rev. 06...
Main: GOSUB Load.File GOSUB Format.Report GOSUB Process.File GOSUB Print.Results END ' ************************ ' * Load File as Input * ' ************************ Load.File: OPEN "E:DEPTDATA" FOR INPUT AS #1 RETURN ' ************************ ' * Formatting Report * ' ************************ Format.Report: H...
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault AllowUpdating =4 ScrollBars =2 PictureAlignment =2 DatasheetGridlinesB...
SCREEN 13 CLS LINE (50, 50)-(150, 150), 70, BF REM BF means BoxFill SLEEP
\************************************************************************ \*** \*** DRWATSON Ranjith Gopalankutty 22/03/2018 \*** \*** This program will read OS pipe ADXCSOUP and start dumping \*** the data to D:/ADX_UDT1/DR...
INPUT D R = D / 2 pi = 3.14159265359 p = 2 * pi * R s = pi * R ^ 2 PRINT "S= "; s PRINT "P= "; p
REM PROGRAMA QUE CUENTAS LOS NUMEROS DEL 10 A 100 CLS FOR A = 1 TO 50 PRINT A, NEXT A END
10 :REM'AUDPASS - Passive Audio Filters - 05 MAY 95 rev. 08 APR 97 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 COLOR 7,0,0 50 DIM C(7) 60 DIM L(3) 70 PI=3.1415929794311523! 80 UL$=STRING$(80,205) 90 U1$="#####.#" 100 U2$="####.###" 110 :REM' 120 :REM'.....start 130 FOR Z=1 TO 7:C(Z)=0:NEXT Z 140 FOR Z=1 TO 3:L(Z)=0:...
Operation =1 Option =0 Where ="(((tbl_Coordinates.Field_UTME) Is Null) AND ((tbl_Coordinates.GPS_file_name) Is " "Null))" Begin InputTables Name ="tbl_Sites" Name ="tbl_Locations" Name ="qasub_Events_scope_filter" Name ="tbl_Coordinates" Name ="tbl_Rare_Bird_Obs" Name ="tlu_Project_Taxa" En...
' Leap year, for QBasic/QuickBasic, web: http://rudih.info CLS main: INPUT "Enter a year or 0 to exit: ", year IF year <= 0 THEN END IF year MOD 100 = 0 THEN GOTO centurycalc: ELSE GOTO regularcalc: END IF regularcalc: year = year MOD 4 SELECT CASE year CASE 0: PRINT "That year is a leap year." CASE 3: PRIN...
'MLG 2.00 Demo #COMPILE EXE #DIM ALL #RESOURCE "MLGBitMaps.pbr" #INCLUDE ONCE "Win32API.inc" '%MLGSLL = 1 #INCLUDE "MLG.INC" '#LINK "MLG.SLL" 'Equates %IDC_GRID1 = 1001 %IDC_LIST1 = 1002 %IDD_DIALOG1 = 101 %IDTEXT = 100 %ID_OPEN = 401 %ID_EXIT = 402 %ID_COPY = 407 %ID_CUT = 408 %ID_PASTE = ...
DEVICE 16F628A DECLARE RSOUT_MODE 0 DECLARE RSOUT_PIN PORTA.0 DECLARE SERIAL_BAUD 9600 ' Default baud rate = 9600 XTAL = 4 symbol DQ = PORTB.7 ' One-wire data pin "DQ" on PortC.7 Dim Stat as bit ' Busy or not bit Begin: delayms 300 ' Wait .3 seconds Rsout cls, "DS2405...
Attribute VB_Name = "ModMain" Option Explicit Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Sub Main() '<EhHeader> On Error GoTo Main_Err '</EhHeader> Dim fso As Scripting.FileSystemObject 100 Set fso = New Scripting.FileSystemObject 102 With fso 10...
cls FOR I=1 TO 100 A$=INKEY$ IF LEN(A$)<>0 THEN ANO PRINT A$ NEXT I GOTO NE ANO: PRINT " ANO " END NE: PRINT " NE "
10 OPEN "XXX.XXX" FOR INPUT AS #1 20 GOSUB 60 30 PRINT "[";X$;"]"; 40 IF EOL THEN PRINT 50 IF NOT EOF(1) THEN 20 55 STOP 60 X$="" 70 IF EOF(1) THEN EOL=-1: RETURN 80 A$=INPUT$(1,#1) 90 IF A$=CHR$(13) OR A$=CHR$(10) OR A$=" " OR A$="," THEN 120 100 X$=X$+A$ 110 GOTO 70 120 EOL=(A$=CHR$(13)) 130 IF X$<>"" THEN RETURN 140...
1 LET X = 123 2 LET Y = 50 10 DEF FNA = 1 20 DEF FNB(X) = FNA * X 30 DEF FNC(X) = FNB(X) + X + SQR(144) 31 DEF FND(X) = X + Y 40 PRINT FNC(2) * 2 50 PRINT X 60 PRINT FND(1) 70 80 90 100 110 REM OUTPUT SHOULD BE 120 REM 32 140 REM 123 150 REM 51 99999 END
10 OPEN"GRP:" AS # 1 20 FOR I=0 TO 255 30 SCREEN 3 40 IF I < 33 THEN PRINT #1,I;CHR$(1)+CHR$(64+I) ELSE PRINT #1,I;CHR$(I) 50 REM FOR T=0 TO 50 60 REM NEXT T 70 NEXT I 
REM --------------------------------------------------- REM REM RAN_FILE.BAS REM REM USE OF RANDOMIC FILE ACCESS COMMANDS REM REM AUTHOR: ANDRE MURTA REM DATE: 20/12/1992 REM REM DEVELOPED AT CENTRO DE ENSINO SUPERIOR DO PARA REM REM --------------------------------------------------- rec2 = 10 DIM a(2,2) CLS PRINT "T...
Operation =1 Option =0 Where ="(((tbl_Quadrat_Species.Plant_Code) Is Not Null And (tbl_Quadrat_Species.Plant_Co" "de)<>\"none\"))" Begin InputTables Name ="tbl_Locations" Name ="tbl_Events" Name ="tbl_Quadrat_Transect" Name ="tbl_Quadrat_Species" Name ="tlu_NCPN_Plants" End Begin OutputColumns ...
10 rem dechexbinoct128 a.k.a. number systems v0.3 20 rem Compatible with 40 or 80 Column mode 30 rem Copyright 2013 ab sayuti hm Saman 40 rem Distributed under the terms of the GNU General Public License 50 rem 60 rem print chr$(27);"x": rem for debugging 80 column mode 70 gosub 280: rem initialize: 80 if wd=40 ...
Attribute VB_Name = "JobsManager" '--------------------------------------------------------------------------------------- ' Module : JobsManager ' Author : Antonio Politi ' Date : 29/08/2013 ' Purpose : Functions to perform imaging and fcs using the Imging, Fcs, Grid, repetitions classes. The functions ' ...
1 %TITLE "Product Cost Layer Maintenance" %SBTTL "IC_MAIN_LAYER" %IDENT "V3.6a Calico" FUNCTION LONG IC_MAIN_LAYER(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 ...
1 'Example 3 of COLOR statement 10 SCREEN 8 20 COLOR 1, 2:'Forground color blue, background color green 30 CIRCLE (25,25),10: 'Blue circle on green background 40 DELAY 1:'Delay for effect 50 COLOR ,3:'Forground color unchanged, background cyan 60 DELAY 1:'Delay for effect 70 CIRCLE (50,50),25:'Blue circle on cyan 80 D...
10 let a=5 20 let b=8.04 30 if a+b = 13.04 goto 60 40 print "RUN TIME FAILURE" 50 goto 70 60 print "RUN TIME PASS" 70 end
100 LET Y = -42 110 IF Y <> -42 THEN 900 120 LET Y = Y * -1 130 IF Y <> 42 THEN 900 140 LET Y = +1 + Y + +1 + -2 150 IF Y <> 42 THEN 900 160 REM comment comment comment comment 800 PRINT "SUCCESS" 810 STOP 900 PRINT "FAILED" 910 END
1 REM SIMPLE BASIC PROGRAM TO CALCULATE LATE PENALTIES 2 REM JIM TERESCO, THE COLLEGE OF SAINT ROSE 3 REM CSC 433, PROGRAMMING LANGUAGES, FALL 2012 5 HOME 10 LET L = 1 20 LET B = 1.08 30 LET P = B ^ L 40 PRINT "HOUR " + STR$(L) + " LATE = " + STR$(P) + "% PENALTY" 50 LET L = L + 1 60 IF P < 100 THEN GOTO 30
1 DIM M$(12) 2 DIM M(12) 3 DIM A$(651) 10 FOR A=1 TO 12 20 READ M$(A) 30 NEXT A 40 FOR A=1 TO 12 50 READ M(A) 60 NEXT A 65 LET C$(1)=CHR$(218) 66 LET C$(2)=CHR$(179) 67 LET C$(3)=CHR$(195) 68 LET C$(4)=CHR$(192) 70 FOR A=1 TO 6 75 LET C$(1)=C$(1)+STRING$(2,196)+CHR$(194) 76 LET C$(2)=C$(2)+STRING$(2,32)+...
0 REM TREASURE HUNT 10 POKE53280,4:POKE53281,0:PRINT"{clear}" 20 DIMD(50) 25 IFPEEK(53272)=21THENGOSUB9000 26 PRINT"{clear}{light green}{down*3}{space*13}!treasure hunt!" 28 PRINT"{down*2}{light blue} what level do you want(1=easy,3=hard)" 30 GETA$:IFA$=""THEN30 32 IFA$="1"THENL=0.99 34 IFA$="2"THENL=0.97 36 IFA$="3"TH...
1 %TITLE "HISTY - Examine Historical Folder" %SBTTL "PR_JOUR_HISTORY" %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 ...
DIM words(50) AS STRING GOSUB wordlist RANDOMIZE TIMER GOSUB randomnum word$ = words(randword) mask$ = "_ _ _ _ _" chances = 0 GOSUB init GOSUB gallows main: INPUT "Guess a letter (Must be capital)"; guess$ correct = 0 IF MID$(word$, 1, 1) = guess$ THEN MID$(mask$, 1, 1) = MID$(word$, 1, 1) correct = 1 l...
10 LET A = LOG(0) 20 END
IF usercommand$(runcommands) = "no" OR usercommand$(runcommands) = "nah" OR usercommand$(runcommands) = "negative" THEN IF ynlogclear = 1 THEN speechoutput$ = "the log has not been cleared" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput usercommands = -1 ...
10 ' Sample BASIC Program - Counts To Ten 20 ' 30 ' Copyright 2005 Andrew Eichstaedt 40 ' Eichstaedt Development Group 50 ' http//www.andrew-eichstaedt.com 60 70 PRINT "Hello! I am a sample BASIC program" 80 PRINT "that counts to ten." 90 PRINT 100 FOR I$=1 TO 10 110 PRINT I$ 120 NEXT I$ 130 PRINT 140 ...
'*** PROGRAM: Use of the VAL("n") function...; ' ...which takes a string; and, then, converts it into being a number... num1$ = "1" num2$ = "2" CLS PRINT VAL(num1$) + VAL(num2$) END '...output... '3
10 REM TEST OPERATOR 20 A$="HELLO" 30 B=50 40 C$=A$+B 50 PRINT C$ 99 END
atom=H contraction shell=S num_primitives=3 num_coefficients=1 50.9991780 0.0096605 7.4832181 0.0737289 1.7774676 0.2958581 contraction shell=S num_primitives=1 num_coefficients=1 0.5193295 1.0000000 contraction shell=S num_primitives=1 num_coefficients=1 0.1541100 1.0000000 contraction shell=P num_primitives=1 num_coe...
\************************************************************************ \*** \*** SNAPSHOT Ranjith Gopalankutty 14/02/2018 \*** \*** There was a defect with program SRP10. It supposed to house \*** keep the expired planne...
5 PRINT "{clear}" 10 FOR X=0 TO 255:POKE 53281,X:POKE 53280,X:NEXT 20 goto 10
1 %TITLE "READ FASFAX RAIS STANDARD FILE" %SBTTL "PR_CONV_CONVERT" %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 wit...
10 for s = 0 to 10000 20 print s 30 next
PRINT 10-1 PRINT 30+10 + 2 PRINT 2+ 3 *4 foo = 20 bar = 30 PRINT foo + 2 + bar foo = foo + bar PRINT foo + 1 IF 10 THEN PRINT 11 PRINT 12 + 13 FI
10 gosub 300 20 poke v+0,x:poke v+1,y 30 if peek(653)=1 then x=x+3:if x>255 then poke v+16,1:x=0 35 if x>65 and peek(v+16)=1 then poke v+16,0:x=1 40 if peek(653)=2 then x=x-3:if x<1 and peek(v+16)=1 then x=255:poke v+16,0 45 if x<1 and peek(v+16)=0 then x=65:poke v+16,1 50 if peek(197)=3 then y=y+3:if y>2...
REM calculate simple interest CLS INPUT "Enter principal amount"; P INPUT "Enter Interest Rate"; R INPUT "Enter Time period"; T I = P * R * T / 100 PRINT "The simple interest is "; I END
10 :REM'DSGNRC - Resistor/Capacitor Circuits 22 NOV 95 rev.11 APR 97 20 CLS:KEY OFF:COLOR 7,0,1 30 COMMON EX$ 40 R$="\/\/\" 50 C$="──╫──" 60 L$="─∩∩∩─" 70 :REM' 80 :REM'.....start 90 CLS:D=0:N=0 100 IF CKT$=""THEN CLS:RUN"dsgnmenu" 110 A$=LEFT$(CKT$,1):B$=RIGHT$(CKT$,1) 120 IF CKT$="RC"THEN AA$=R$:BB$=C$ 130 IF CKT$="...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 ViewsAllowed =1 Pictu...
' UNIOESTE - CECE - Foz do Iguacu ' Curso de Ciencia da Computacao ' Materia: Sistemas Digitais ' Aluno: Victor Hugo Cardoso Mendes ' Prof: Ricardo Luiz de Barros ' Data: 07/10/2019 ' Programa: testeLCD '$sim $Regfile="m...
10 REM "******************************" 20 REM "* PROJETO PAINEL DE MSG MSX " 30 REM "* HW DE BASE: PLACA PROJETO " 40 REM "* HARDWARE REVISTA CPU MSX 22 " 50 REM "* + PLACA MSX_PAINEL_MSG BY " 60 REM "* arne_robotics@hotmail.com " 70 REM "******************************" 80 SCREEN 0:CLS:KEY OFF 90 PRINT "TESTE ...
Attribute VB_Name = "modGlobals" Option Explicit Global Const G_CONST_CP_APP_NAME = "ClearingPoint" Global Const G_CONST_CPTS_APP_NAME = "ClearingPoint Scheduler" Global Const G_CONST_CPMAIL_APP_NAME = "ClearingPoint Reports Auto-Email" Global Const G_CONST_CPRP_APP_NAME = "RemotePrinter" Global Const G_CONST...
Attribute VB_Name = "Utils" Option Explicit Private Const cstrAPOSTROPHE As String = "'" Private Const cstrWILDCARD As String = "*" Private Const cstrWILDCARDSQL = "%" Public Const g_sStandardCharSet As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz',.-/&0123456789" Private Const HWND_TOPMOST = -1 Pri...
PRINT "What is your NAME" INPUT NAME$ PRINT "Hello, "; NAME$; "!" PRINT "INPUT your: School, Grade, Section, Bubble, and Age. Don't worry this information will not be used for bad stuff" INPUT School$ INPUT Grade$ INPUT Section$ INPUT Bubble$ INPUT Age$ PRINT "Thank You For Your INFORMATION we will save this INFORMATI...