text
stringlengths
7
5.36M
atom=H contraction shell=SS num_primitives=4 num_coefficients=2 19.2384 0.032828 0.0 2.89870 0.231204 0.0 0.65350 0.817226 0.0 0.17760 0.0 1.000000 atom=Li contraction shell=SSS num_primitives=10 num_coefficients=3 921.30 0.001367 0.0 0.0 138.70 0.010425 0.0 0.0 31.940 0.049859 0.0 0.0 9.3530 0.160701 0.0 0.0 3.1580 0....
500 'VOCABULARY Ichigo-Tango Kaltstein Oliver 510 GSB1100:S=0:Q=20:FORI=1TOQ:GSB1001+RND(L):CLS:?:?" L E A R N V O C A B U L A R Y" 520 LC2,6:?"JAPANESE ENGLISH":LC0,11:?"JAPANESE : ";STR$(A):?:?:?"ENGLISH "; 530 INPUT"? ",Z:GSB600:IFETHENS=S+1:LED0:PLAY"ED":?:?"CORRECTION: ";STR$(B):WAIT300ELSEPLAY"CB" 54...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowEdits = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ...
DIM AS INTEGER N,G,K,X,F,I INPUT "N=";N DIM AS INTEGER A(N) G=0 K=1 A(K)=1 DO WHILE K>0 AND G=0 IF K<=N AND A(K)<=N THEN F=-1 IF K>1 THEN X=A(K)+A(K-1) FOR I=2 TO SQR(X) IF X MOD I=0 THEN F=0 NEXT I FOR I=1 TO K-1 ...
CLS REM Mission editing routine for WC1 (may or may not work with KS) 4000 CLS PRINT "Loading..." shipship$ = " " shipiff$ = " " shiporders$ = " " shipxcoordbyte1$ = " " shipxcoordbyte2$ = " " shipxcoordbyte3$ = " " shipycoordbyte1$ = " " shipycoordbyte2$ = " " shipycoordbyte3$ = " " shipzcoordbyte1$ = " " ship...
10 print tab(27)"marshallcavendish"tab(99)"presents " 20 print"{down*2}"tab(10)"{reverse on}input" 30 print"{down*2}copyright(c) 1 9 8 4" 40 for z=1 to 2000:next z:print"{clear}"
100 OPEN_NEW #1,'con_' 110 PAPER 0 120 INK 4 130 BORDER 1,255 140 CLS 150 PRINT "Command line:";cmd$ 160 adr=cmd$ 170 PRINT "Top of stack:";PEEK_F(adr) 180 PRINT "New value: 1.234" 190 POKE_F adr,1.234 200 INPUT #1,a$
5 ADDR=(PEEK(53272)AND 240)*64:CM=55296 10 ADDR=1024:POKE53281,6:POKE 53280,1:PRINT"{clear}":POKE53281,1 :N=160:P=81 20 FOR X=0 TO 38 STEP 2:FOR Y=0 TO 23 STEP 2:GOSUB150:NEXT:NEXT 25 GOSUB 300 30 FOR X=0 TO 959:IF PEEK(ADDR+X)<>N THEN POKE ADDR+X,P 40 NEXT:READ N,P:IF N=0 THEN RESTORE:N=160:rem 246 45 GOSUB 300 ...
FUNCTION todecimal (binary1$) FOR x = 1 TO LEN(binary1$) dec = dec + VAL(MID$(binary1$, x, 1)) * (2 ^ (LEN(binary1$) - x)) NEXT x todecimal = dec END FUNCTION
5 RANDOMIZE \PRINT "YOU ARE NOW A PILOT IN A WORLD WAR II BOMBER" 10 PRINT "WHAT SIDE -- ITALY(1), ALLIES(2), JAPANESE(3), GERMANY(4)";\INPUT A 20 IF A>0 THEN IF A<5 THEN 25 21 PRINT "TRY AGAIN..."\GOTO 10 25 ON A GOTO 30,110,200,220 30 PRINT "WHAT IS YOUR TARGET -- ALBANIA(1), GREECE(2), NORTH AFRICA(3)";\INPUT B...
10 FOR X=0 TO 1 STEP .1 20 IF X><.3 THEN PRINTX;X^2:NEXT X ELSE NEXT X 
5 CLS 90 PRINT " OPTION WRITING" 100 PRINT "tHIS PROGRAM COMPUTES SOME USEFUL TOTALS FOR POTENTIAL 110 PRINT "OPTION WRITERS. tHE USER OF THIS PROGRAM WILL GENERALLY 120 PRINT "BE A RATIO WRITER AND WILL SELL A FIXED NUMBER OF OPTIONS 130 PRINT "AS WELL AS BUY OR SHORT A GIVEN NUMBER OF SHAR...
REM 23/06/2016 11:08 REM + 1 EURO REM Yuriy Lomako REM ------------------------------ CLS S = 1 INPUT "Введите число:"; N FOR i = 1 TO N PRINT S; "*"; i; "="; S = S * i PRINT S NEXT i
10 REM TEST LINE INPUT STATEMENT 20 LINE INPUT L$ 30 PRINT "VALUE IS: [";L$;"]" 99 END
Attribute VB_Name = "Nx0" '-- ' '-- ' '--Nx.bas '--made in vb6 '--by Nx ' '--module stats 'total procedures: 282 'AIM Related: 45 'AOL Related: 52 'IE Related: 3 'mIRC Related: 7 'WinAMP Related: 62 'Windows Related/Misc: 113 ' '--from the maker 'hope you enjoy, if you have any 'complaints/questions/comments e-mail me ...
DECLARE SUB Stars () DECLARE SUB Dividingline (x!, y!) DECLARE SUB center (s AS STRING) CLS PRINT "Sean" Dividingline 2, 1 PRINT "Qbasic" Stars center "HI" END SUB center (s AS STRING) PRINT TAB(40 - LEN(s$) / 2); s$ END SUB SUB Dividingline (x, y) PRINT LOCATE x, y: PRINT "------------------------" P...
REM @english REM SCREEN MANIPULATION CHECKING BITMAP MODE (1) REM REM This example shows the various mode to check if bitmap mode is native REM or emulated. REM REM @italian REM MANIPOLAZIONE DI SCHERMI CON VERIFICA DELLA MODALITA' BITMAP (1) REM REM Questo esempio mostra i vari modi di verificare se la modal...
0 REM *Graphplotter* 1 POKE11,233:POKE12,255:GOSUB15 2 DEFFNY(X)=:REM...................................................... 3 INPUT" Plotting interval ";A,B 4 GOSUB26 5 FORX=ATOBSTEPSX:FX=FNY(X)/MX*13 6 POKE54159-A/SX+X/SX-64*INT(FX),128+8*(FX-INT(FX)):NEXT 7 PRINT" Press 'space'"; 8 X=USR(X):IFPEEK(533)<>32THEN8 9 PRI...
DIM x AS INTEGER CLS FOR x = 20 TO 40 PRINT x NEXT x
Attribute VB_Name = "WEB_STRING_MATH_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. '*****************************************************************...
10 PRINT "PROGRAM FILE 13: FORMAT AND ROUNDING OF PRINTED" 20 PRINT " NUMERIC CONSTANTS." 30 PRINT " ANSI STANDARD 12.4, 5.2, 5.4" 40 PRINT 50 PRINT "SECTION 13.1: PRINTED REPRESENTATION OF CONSTANTS." 60 PRINT 70 PRINT "THE FORMAT OF A PRINTED CONSTANT IS DETERMINED BY THE VALUE" 80 PRINT "OF THE CONSTANT RA...
dim a(10) dim b$(1) read a(0), a(1), a(3), b$(0) gosub 100 data 42, 23, -4711, "MoinMoin" end 100: for i=0 to 9 print a(i) next i print "*****" print b$(0) return
8 poke53280,0:poke53281,0:gosub59000:at=5:de=7:wv=129:gosub55000 10 n=24:print"{clear}{white}":sc=0:li=3:v(1)=0:mm=1:f(1)=10:e=0 12 ifmm>1thenf(1)=f(1)-2:n=n-3:ifn<7thenn=6 14 iff(1)<2thenf(1)=2 15 a=1904:b=1943:m=1042:z=0:co=54272:data255,129,129,129,129,129,129,255,153,153,126,126,36,36,24,24,0,0,255,255,255,255,...
DECLARE SUB killOldPak (file$) DECLARE SUB saveLevel (file$, No%) DECLARE SUB pause () DECLARE SUB clearLevel () DECLARE SUB addActor (actor%, wave%, x%, y%) DECLARE SUB exitCode (code%) '$INCLUDE: 'libelf.bi' CONST CScoreDiamond = 50 CONST CScoreDiamondBig = 50 CONST CScoreChest = 50 CONST CScoreKey = 50 CONST CSco...
'=============================================================================== ' WebPage.Wizard v3.10 - Copyright ½ 1997-1999 Matthew Bacon '=============================================================================== DEFINT a-z '>>Include files<< REM $include F:\cadenza\webwizrd.31\webpage.wzd\webpage.bh...
Attribute VB_Name = "FINAN_FI_HW_1F_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 = "FINAN_ASSET_FUND_DATA_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. 'Written by Nico - Ben Graham Centre for Value Investing Fu...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =18495 DatasheetFontHeight =11 ItemSuffix =15 Right =1...
10 REM ***DIFFUSSION LIMITED AGGREGATION*** 20 PRINT CHR$(125) 30 POSITION 0,0:PRINT "ENTER PARTICLES: ":INPUT PARTICLES 40 PRINT CHR$(125) 50 GRAPHICS 8: COLOR 1:PLOT 160,96:XO=160:YO=96 59 REM ***MAIN LOOP*** 60 GOSUB 200 70 GOSUB 400 80 IF PARTS<=PARTICLES THEN GOTO 60 100 END 199 REM ***SEED PARTICLE*** 200 FI = 36...
atom=H contraction shell=S num_primitives=3 num_coefficients=1 34.87758369 0.0058551 5.23397281 0.0439690 1.18503342 0.1989867 contraction shell=S num_primitives=1 num_coefficients=1 0.32833943 1.0000000 contraction shell=S num_primitives=1 num_coefficients=1 0.11031918 1.0000000 contraction shell=S num_primitives=1 nu...
Attribute VB_Name = "Filesystem" Option Explicit ' CS Common routines for temporary directories, text files Declare Function GetTempPath Lib "kernel32" Alias _ "GetTempPathA" (ByVal nBufferLength As Long, ByVal _ lpBuffer As String) As Long Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ ...
DECLARE SUB GCF (GAMMCF!, A!, X!, GLN!) DECLARE FUNCTION GAMMP! (A!, X!) DECLARE SUB GSER (G!, A!, X!, L!) FUNCTION GAMMP (A, X) IF X < 0! OR A <= 0! THEN PRINT "Abnormal exit": EXIT FUNCTION IF X < A + 1! THEN CALL GSER(GAMSER, A, X, GLN) GAMMP = GAMSER ELSE CALL GCF(GAMMCF, A, X, GLN) GAMMP = 1! -...
' JumPong 2 - 5200Basic Version ' (c) James Higgs 2002-2004 ' TODO: ' 1. Select paddle/joystick control scheme ' 2. ball speed-up after every 10 bounces ' 3. Player can speed up ball by holding fire ' define variables ' NOTE: variables cannot be more than 7 chars long! DEFINE P1Y, $A0 DEFINE P2Y, $A1 DEFI...
1 %TITLE "CHART OF ACCOUNTS HISTORY MAINTENANCE" %SBTTL "GL_MAIN_CHARTHIS" %IDENT "V3.6a Calico" FUNCTION LONG GL_MAIN_CHARTHIS(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. ! ! T...
1 GOSUB 65000: GOSUB 10000: GOSUB 11000: GOTO 4000 1000 REM *OBTEM COMANDO 1010 IF PEEK (285) = 0 THEN C = 0: RETURN 1020 T = PEEK (283): IF T = C1 THEN C = 1: RETURN 1021 IF T = C2 THEN C = 2: RETURN 1022 IF T = C3 THEN C = 3: RETURN 1023 IF T = C4 THEN C = 4: RETURN 1024 IF T = C5 THEN C = 5: RETURN 10...
5 ONERRORGOTO500 10 MODE8:DIM:a=0:c=0:c$=CHR$(5) 20 CLS:PRINT"Angle(Œ) ä- y=ax+b,y=cx+d"; 30 s$="a":z=a:GOSUB100:a=z 40 s$="c":z=c:GOSUB100:c=z:LOCATE0,1 60 IFa=c THENPRINTc$;"Parallel"; ELSEIFa*c=-1 THENPRINTc$;"Right angle"; ELSEPRINTc$;"Œ =";ATN((c-a)/(1+c*a)); 70 w$=INPUT$(1,@):GOTO30 100 LOCATE0,1:PRINTc$;s$;"=";z...
1 DECLARE SUB computing (fehler, eingabe$, position, sysnum, startzahl$, dauer, poswert$, asciiposwert, poswert, sysposwert, ausgang, startzahl) CALL computing(fehler, eingabe$, position, sysnum, startzahl$, dauer, poswert$, asciiposwert, poswert, sysposwert, ausgang, startzahl) CLEAR GOTO 1 SUB computing (fehler...
DEFSNG A-Z ' $INCLUDE: 'log.inc' seconds! = TIMER IF Exist%(COMMAND$) THEN print "-"; COMMAND$;"-" c$= left$( COMMAND$ ,len(COMMAND$)-4) do h2=instr(c$,"\") c$=RIGHT$(c$,len(c$)-h2) loop until h2=0 print c$+".scad" OPEN COMMAND$ FOR INPUT AS #1 input #1, solid$ close if LEFT$ (lTRIM$(solid$),3)="OFF" t...
REM @english REM STATIC IMAGES CAPTURE (3) REM REM This example will show how to capture an image from REM the screen after putting it. It answers to bug #367. REM REM @italian REM GESTIONE DELLE IMMAGINI CATTURA (2) REM REM Questo piccolo esempio mostra come catturare una immagine REM dallo schermo dopo ave...
' SUGG.FRM Option Explicit Sub sub99F8 () End Sub Sub Command3D1_Click () Dim l0022 As Variant Dim l0028 As Variant Dim l002C As String Dim l0030 As Variant Dim l0034 As Variant Dim l0038 As Variant Dim l0040 As Variant Dim l0044 As Variant Dim l0048 As Variant Dim l004E As Variant Dim l0054 As Variant Dim l0058 As V...
DECLARE SUB Finestra2 (Larg!, Alt!, c!, Text$) DECLARE SUB Pagina1 () DECLARE SUB Center (Alt!, Text$) DECLARE SUB Finestra (Larg!, Alt!, c!, Text$) SCREEN 0 COLOR 7, 1 CLS ON ERROR GOTO Errori '$STATIC DIM SHARED Scelta(10) DIM SHARED a(10) DIM SHARED b(10) DIM SHARED SubW$(1) DIM SHARED Info$(16) '$...
100 REM Purpose: Verify RETURN exits a FUNCTION 110 REM Author: Howard Wulf, AF5NE 120 REM Date: 2015-12-23 130 REM 131 GOTO 300 200 PROC TEST( X ) 210 GOSUB 400 220 RETURN @X * 7 240 PRINT "TEST FAILED - RETURN NOT EXECUTED" 250 STOP 300 PRINT "ABOUT TO EXECUTE TEST" 310 LET N = FN TEST( 2 ) 320 ...
0001 REM Copyright 2012 Lexi Robinson 0001 REM 0001 REM Licensed under the Apache License, Version 2.0 (the "License"); 0001 REM you may not use this file except in compliance with the License. 0001 REM You may obtain a copy of the License at 0001 REM 0001 REM http://www.apache.org/licenses/LICENSE-2.0 0001 REM 000...
DECLARE FUNCTION OttDimMatr (LSin, LDes, LAlto, LBasso) SCREEN 2 CLS VIEW (20, 10)-(620, 190), , 1 CONST PIGRECO = 3.141592653589# WINDOW (-3.15, -.14)-(3.56, 1.01) ' $DYNAMIC ' Il rettangolo Š pi— piccolo di quello nel programma ' precedente, per cui pure Matrice Š pi— piccola: LSin = -.18 LDes = .18...
NAME neos-3355323-arnon FREEIEEE BS C0001 _dummy_ iZ3El2k+fog3 BS C0002 _dummy_ gZ3537778r52 BS C0003 _dummy_ 5Z3tz7na3t*9 BS C0004 _dummy_ 2Z3dC8hx0Hmb BS C0005 _dummy_ HZ3206tc5Xf4 BS C0006 _dummy_ GZ3lJ6+42F47 BS C0007 _dummy_ SZ3d2...
Attribute VB_Name = "MathUtils" ' ' **************************************************************************** ' ' SQUID2 is a program for processing SHRIMP data ' ' Program author: Dr Ken Ludwig (Berkeley Geochronology Center) ' ' Supporters (members of the SQUID2 Development Group): ' - Geoscience Aus...
$IF SUBATTACKGLENLIN = 0 THEN $LET SUBATTACKGLENLIN = 1 '$INCLUDE:'SUB EstablishTarget.BAS' 'BATTLE1 COMBINE SUB AttackGlenlin (EnemyTargeted) 'BATTLE1.BAS : DIM coverup& : CALL EstablishTarget(enemyat%(), EnemyTargeted%) : IF EnemyTargeted = 1 THEN : ex = 45: ey = 120 : ly = 16: lx = 4 : E...
1 ON SRQ THEN 100 3 GO TO 1500 4 I9=1 5 RETURN 8 I9=2 9 RETURN 12 Z8=32 13 I9=3 15 RETURN 16 I9=4 17 RETURN 20 I9=5 21 RETURN 24 I9=6 25 RETURN 28 I9=7 29 RETURN 32 Z8=1 33 GOSUB 604 34 Z8=32 35 MOVE @1:150,100 36 RUN 1 40 I9=8 41 RUN 1900 42 RETURN 44 I9=9 45 RETURN 48 I9=10 49 RETURN 52 I9=11 53 RETURN 56 ...
OPTION EXPLICIT DEFINT A-Z DECLARE SUB Conf.ConfAssoc () DECLARE SUB Conf.ConfMisc () DECLARE SUB Conf.ConfTheme () DECLARE SUB Conf.LoadDefaultThm () DECLARE SUB Conf.LoadTheme (BYVAL ThmFile AS STRING) DECLARE SUB Conf.Main () DECLARE SUB Desk.DrawDesktop () '$INCLUDE: 'C:\COSTA\SOURCE\COSTALIB.BI' ...
CLS 5 PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT 6 PRINT 7 PRINT 8 PRINT 9 PRINT " THE FOOD GAME!" 10 PRINT "WHAT IS YOUR" 20 PRINT "FAVORITE FOOD?" 30 INPUT M$ 40 PRINT M$; " IS MY FAVORITE FOOD TO!" 50 PRINT 60 PRINT "WHAT DO YOU LIKE?" 70 INPUT...
-- Test right$ 10 print "ErrorCase len < 0 => "; right$("error",-1)
10. circle 60,60,60;
' Copyright (c) 1989 Crescent Software DEFINT I-N DEFDBL A-H, O-Z SUB FAXY (X, Y, F) STATIC ' z = fa(x,y) subroutine F = SQR(X ^ 2 + Y ^ 2) END SUB SUB FBXY (X, Y, F) STATIC ' z = fb(x,y) subroutine F = 2# END SUB SUB FCX (X, F) STATIC ' y = fc(x) subroutine F = -SQR(4# - X ^ 2) END...
/' Copyright (c) 2011, SavedCoder. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following d...
Version =20 VersionRequired =20 PublishOption =1 Checksum =836660214 Begin Report LayoutForPrint = NotDefault Modal = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault PageHeader =1 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior...
' Draws random dots as fast as possible 10 CLS 20 w=PSIZE(0):h=PSIZE(1) 30 DO 40 PSET INT(RND(w)),INT(RND(h)),INT(RND(16777215)) 50 k=INKEY() 60 LOOP WHILE k=0 70 CLS 80 END
10 :REM'TEEMATCH - HIGH PASS TEE MATCH with finite Q inductor, by Brian Eagan ZL1LE 20 :REM'(TEE.BAS by ZL1LE edited for HAMCALC by George Murphy VE3ERP - 07 SEP 97) 30 :REM'.....rev. 14 SEP 97 40 :REM'Formulae derived from original material by Kevin Schmidt in QEX, July 1997 50 COMMON EX$ 60 IF EX$=""THEN EX$="EXIT" 7...
DECLARE SUB MENU () DECLARE SUB ANIMALS () DECLARE SUB CITY () DECLARE SUB ANIMALS1 () DECLARE SUB ANIMALS2 () DECLARE SUB CITY1 () DECLARE SUB CITY2 () REM Austin Smith REM This fixs the stack space problem - program would not run without this!!! X = 25000 CLEAR , , X MENU SUB MENU SCREEN 12 CL...
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS 1...
1 %TITLE "Invoiced Product Report" %SBTTL "OE_RPRT_INVPROD" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1992 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be ! copied only in accordance with terms of such license and with ! the inclusion of ...
10 REM GRAPHICS EXPERIMENTING 20 REM 30 REM 32 LET XORIGO = 300! 34 LET YORIGO = 300! 40 CLS 50 SCREEN 9 58 GOSUB 8000 60 FOR X = -10! TO 5! STEP .001 70 LET Y = 2 ^ X 80 X0 = XORIGO + 40! * X 90 Y0 = YORIGO - 40! * Y 100 GOSUB 7000 110 NEXT X 120 END 7000 REM THE SUBROUTINE TO SET ONE PIXEL ON THE SCREE...
1 %TITLE "Accounts Receivable Service Charge Table Maintenance" %SBTTL "AR_MAST_SERCHG" %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...
REM DEMONSTRATION OF VARIABLES REM ASSIGNING VALUE OF 3 TO VARIABLE X X = 3 PRINT X REM ASSIGNING VALUE OF 10 TO VARIABLE X X=10 PRINT X REM VALUES OF VARIABLES AND ASSIGNING TO 3RD VARIABLE Z Y=15 Z = X+Y PRINT "X=";X;"Y=";Y;"Z=";Z REM MORE COMPLEX EXPRESSION WITH VARIABLES. THIS IS (X+Y) SQUARE M = X ^ 2 + 2 *...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Mbug.b Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWord...
10 PRINT "COMPUTING SIN(X)" 20 PRINT "ANGLE", 30 INPUT X 40 REM sin x = x − x^3/3! + x^5/5! − x^7/7! 50 LET X=X/180*3.141592 60 LET A=X*X*X 70 LET B=A*X*X 80 LET C=B*X*X 90 LET S=X-A/6+B/120-C/5040 100 PRINT "SIN=",S 110 END
rem ******************************************************************* rem ** Demo of playercolors+no_blank_lines kernel rem ** rem ** It provides 2xplayers with color and a ball. (no missiles) rem ** the trade-off is the middle playfield bytes are symmetrical rem ********************************************...
10 DIM A(100):PRINT"Введите число N":INPUT N:A(1)=1:J=1 60 FOR I=2 TO N 80 P=0 90 FOR K=1 TO J 100 C=A(K)*I+P:P=INT(C/10):A(K)=C-P*10 130 NEXT K 140 IF P=0 GOTO 200 150 J=J+1 160 IF J>100 THEN PRINT"Не хватает места в массиве":STOP 170 A(J)=P-INT(P/10)*10:P=INT(P/10) 190 GOTO 140 200 N...
10 KEY OFF 20 COLOR 15,0,0 30 IF TIM$="" THEN TIM$=TIME$ 40 REM *** Anzeigeroutine *** 50 CLS 60 LOCATE 2,23:PRINT"лл" 70 LOCATE 4,23:PRINT"лл" 80 LOCATE 2,56:PRINT"лл" 90 LOCATE 4,56:PRINT"лл" 100 Z=VAL(LEFT$(TIME$,1)) 110 X=1 120 GOSUB 290 130 Z=VAL(MID$(TIME$,2,1)) 140 X=9 150 GOSUB 290 160 Z=VAL(MID$...
10 REM PRIME NUMBERS 11 REM TO CALCULATE PRIME NUMBERS UP TO A 20 INPUT A 22 IF A=2 THEN PRINT"2": GOTO 100 25 PRINT"2 3"; 30 FOR I=2 TO A 40 IF I=A THEN 100 50 FOR D=2 TO INT(SQR(I)+2) 60 IF I/D=INT(I/D) THEN 90 70 NEXT D 80 PRINT I; 90 NEXT I 100 END
10 :REM'DIELECT - Dielectric Materials - 17 AUG 2001 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 COMMON EX$ 50 DIM T$(33) 60 FOR Z=1 TO 33:READ T$(Z):NEXT Z:RESTORE 70 :REM' 80 :REM'.....title page 90 CLS 100 COLOR 15,2,0 110 PRINT " DIELECTRIC MATERIALS"TAB(57)"by George Murphy VE3ERP "; 120 COLOR 1,0:PRINT STRING$...
1 REM VARIABLES 10 X% = 100 20 X = 100.5 25 PRINT "X = ";X,"X% = ";X% 30 X$ = "THE SUM OF X% AND X IS: " 40 PRINT X$;X%+X READY.
0 CLEAR1:DIMC(6,3,7):OPEN"I",#-1,"T2":FORS=0TO6:FORO=0TO3:FORT=0TO7:INPUT#-1,C(S,O,T):NEXT:NEXT:NEXT:CLOSE#-1:POKE65495,0:GOTO60 2 SET(X+C(S,O,0),Y+C(S,O,1),D):SET(X+C(S,O,2),Y+C(S,O,3),D):SET(X+C(S,O,4),Y+C(S,O,5),D):SET(X+C(S,O,6),Y+C(S,O,7),D):RETURN 4 RESET(X+C(S,O,0),Y+C(S,O,1)):RESET(X+C(S,O,2),Y+C(S,O,3)):RESET...
1000 DATA S,ZX Spectrum 1010 DATA L,Year of birth - 1982 1020 DATA L,Sir Clive Sinclair 1030 DATA S,Capabilities 1040 DATA LP,Z80 based - 3.5MHz 1045 DATA LP,16/48kB of RAM 1050 DATA LP,Simple construction 1060 DATA LP,One custom chip - ULA 1070 DATA S,Capabilities 2 1080 DATA L,Color Graphics 1090 DATA L,256x192 - 8 c...
DECLARE SUB InitDesktop () DECLARE FUNCTION EncriptaWord$ (WORD$, CLAU$) DECLARE FUNCTION BinariDecimal! (CAD$) '$INCLUDE: 'QBX.BI' '$INCLUDE: 'DATIM.BI' '$INCLUDE: 'FORMAT.BI' '$INCLUDE: 'C:\FACT3\FONTS\SDK_001.BI' '$INCLUDE: 'C:\FACT3\FONTS\DRAC3.BI' '$INCLUDE: 'C:\FACT3\FONTS\WIN.BI' TYPE CAPSAL ' C...
10 DIM a(5) 20 FOR i=0 TO 4 30 a(i)=4-i 40 NEXT i 50 FOR i=0 TO 4 60 PRINT a(i) 70 NEXT i
OPTION EXPLICIT CONST AS SINGLE g = 9.8 : REM gravity DIM SHARED AS INTEGER choice=0 SUB CPrint ( BYVAL Y AS INTEGER, S AS STRING ) DIM AS INTEGER X = 40 - LEN ( S ) / 2 LOCATE Y, X PRINT S END SUB REM ********************************************************* REM ** REM ** GAME REM ** REM ****...
While 0 PH / PHO Calculator (c) 2019 Tyler Holewinski Special thanks to Ms. Reeves Westosha Central High School D: Input Data I: Iterator A[1-4]: PH, PHO, [H+], [OH-] End {4,1→dim([A] Menu("Given Info","PH",PH,"PHO",PO,"[H+]/[H3O+]",CH,"[OH-]",CO "Calculate based on PH Lbl PH Input "PH ...
0 poke 53280,15:poke 53281,15:poke 646,0:dim by%(255):c0$=chr$(0) 10 print chr$(147);"disk scanner":print:lb=0:cb=0:xm=0 15 print"search term can be hex or ascii." 16 print"for hex, use $ prefix. Like: $ffa01222" 17 print"for ascii, just enter the text.":print 20 input "search for";t$ 25 er=0:gosub 3000: if er=1 then 1...
100RANDOMIZE 110DIMX(20) 120PRINT"DO YOU WANT DIRECTIONS Y FOR YES N FOR NO"; 130INPUT$Z\PRINT 140IFZ=#YTHEN160 150IFZ=#NTHEN290 160PRINT"DIRECTIONS FOR GOLF" 170PRINT 180PRINT"YOU HAVE A CHOICE OF 9 CLUBS" 190PRINT"WHEN THE COMPUTER TELLS YOU TO CHOSE YOUR CLUB" 200PRINT"INPUT 1 FOR A DRIVER RANGE OF 150 TO 270 YARDS...
NAME rocI-4-11 FREEIEEE XL n_votes#1 VoteCount_1 A04+z15iaqna XL n_votes#2 VoteCount_2 g24Z9drme+*9 XL n_votes#3 VoteCount_3 W340Id000000 XL n_votes#4 VoteCount_4 A54oIf000000 XL is_voter#10#1 VoterStartPos_1 D+3P159x4yZ9 XL is_voter#9#1 Voter...
'_|_|_| ARG!!.BAS '_|_|_| A game based an original game posted on FIDO. '_|_|_| From: Andrew Jones ... Echo: FidoQBasic '_|_|_| Date: 04-14-96 14:33 ... Subj: arg.bas '_|_|_| No warrantees or guarantees are given or implied. '_|_|_| Released to PUBLIC DOMAIN by Kurt Kuzba. (4/28/96) DEC...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Thus.fd Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWor...
10 '******************************************** 20 '* * 30 '* 3D M O R P I O N * 40 '* * 50 '* (C) 1982 Reza Beheshti * 60 '* * 70 '* 3504 Pen...
' SERVER.FRM Option Explicit Sub sub99F8 () End Sub Sub Command3D1_Click () List1.Clear Frame3D1.Caption = "Served: 0" End Sub Sub Command3D2_Click () List2.Clear Frame3D3.Caption = "Ignore: 0" End Sub Sub Command3D3_Click () Dim l004C As Variant Dim l0056 As Variant Dim l0068 As Variant Dim l006C As Variant Dim l0...
Attribute VB_Name = "ModListView" Option Explicit '//pt 31May2007: added this module to handle all methods of related to the listview '¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.• '::: (\_(\ ...*...*...*...*...*...*...*...*...*...*...*...* '*: (=' :') : Kiss your life. Accept it, just as it is. '•.. (,('...
5 REM Overwriting time register, which is not allowed 10 TI = 3 20 print TI
#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 ...
Version =20 VersionRequired =20 Begin Form AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =3360 DatasheetFontHeight =9 Left =540 Top =30 Right =4980 Bottom =1875 Datashee...
05 REM TEST IF THEN WHEN THEY ARE EQUAL. 06 REM 10 LET X = 2 20 IF X = 2 THEN 50 30 PRINT "THEY ARE **NOT** EQUAL." 40 END 50 PRINT "THEY **ARE** EQUAL."
1 %TITLE "TRLB - Print the Trial Balance" %SBTTL "GL_RPRT_PERIODBAL" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1999 BY ! ! Software Solutions, 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...
1 cls 5 graphics 0 7 graphics window 20,20,600,400 10 let x = 300 : let y = 300 11 graphics color 256 20 let a = mouse(1) : let b = mouse(2) 23 gosub 100 25 let gfh = int(a+((x-a)/3)) : let gfv = int(b+((y-b)/3)) 30 let gbh = int(a+((x-a)/2)) : let gbv = int(b+((y-b)/2)) 32 graphics color 251 35 graphics fillrect gfh-1...
' *** DEFSG_EX.BAS *** ' DECLARE SUB BlocMaius () DECLARE SUB SblocMaius () DECLARE SUB StampMsg (R%, C%, M$) CLS BlocMaius StampMsg 24, 1, "<BLOC MAIUS>" LOCATE 12, 10 LINE INPUT "Digitare una stringa (i caratteri sono in maiuscolo): ", S$ SblocMaius StampMsg 24, 1, " " StampMsg 25, 1, "Prem...
' GJordan.bas ' 16/01/2003 print "Gauss Jordan (4 Unknowns)" print "-----" print "SmallBASIC Version for Palm OS" print "Developed by: Marc Christian Saribay" print "Date Created: January 16, 2003" print "Last Update: May 14, 2003" print "-----" n="y" repeat ?"Equation 1" input "Enter coefficient of x: ",a1 input "Ente...
Attribute VB_Name = "MOD_Dev_Language" Option Explicit Public strLangMod As String Public CheckDuplicates As Boolean Public Enum lt All = 1 General = 0 [Version Only] = 2 End Enum Const strModule As String = "(Module) MOD_Dev_Language" Public Sub TestPOST(CodeIn As String) 'Dim x As New POS...
100 REM Program to demonstrate printing all 255 110 REM PC characters. 120 SCREEN 0,1:WIDTH 40:LOCATE ,,0:COLOR 7,0,0:CLS:KEY OFF 'Set screen 130 DEF SEG 'Point segment to BASIC interpreter 140 REM String SUBRT$ will hold machine-language routine 150 SUBRT$="" 160 REM Loop to load ma...
SCREEN 12 FOR x = 1 TO 20 LINE (x * 32, 0)-(x * 32, 479), 15 NEXT FOR y = 1 TO 15 LINE (0, y * 32)-(639, y * 32), 15 NEXT SLEEP CLS DO _LIMIT 300 DO WHILE _MOUSEINPUT IF _MOUSEBUTTON(1) THEN FOR y = 0 TO 14 FOR x = 0 TO 19 IF _MOUSEX...
REM @english REM FLOW CONTROL BY CONTROLLED LOOPS (2) REM REM This small example will use the ''FOR...NEXT'' keywords to implement REM a "nested" loop. The inner loop will count from 1 to 5, while the outer REM one will count from 1 to 100. So it will print first 1, 2, 3, 4, 5; then, REM it will print 2, 4, 6, 8,...
FUNCTION LoadPage$() DIM pageID, strSQL$ IF QueryString$("module") = "pages" THEN IF QueryString$("pageid") <> "" THEN 'Attemping to load a page with a given ID pageID = CINT(QueryString$("pageid")) ELSE 'Attemping to load the pages module without any page ID IF getSettings$("site...
Attribute VB_Name = "ModEditMacros" Option Explicit '"0x0ffee11" == Form_Load in frmedit. '"0x0ffee12" == OpenMacroForEditing. '"0x0ffee13" == GetListedIndexMacroInTheCombo. '"0x0ffee14" == AddMouseEvent. '"0x0ffee15 == AddKeyboardEvent. '"0x0ffee16" == TranslateKey. '"0x0ffee17" == AddDelayEvent. Private ...
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(0))+40 15 D=INT(15*RND(0))+5 20 T=INT(19*RND(0))+20 25 PRINT " A CAR TRAVELING";C;" MPH CAN MAKE A CERTAIN TRIP IN" 30 PRINT D;" HOURS LESS THAN A TR...