Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
35
Task/Documentation/PureBasic/documentation.basic
Normal file
35
Task/Documentation/PureBasic/documentation.basic
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
; This is a small demo-code to demonstrate PureBasic’s internal
|
||||
; documentation system.
|
||||
|
||||
;- All Includes
|
||||
; By starting the line with ‘;-‘ marks that specific line as a special comment,
|
||||
; and this will be included in the overview, while normal comments will not.
|
||||
|
||||
IncludeFile "MyLibs.pbi"
|
||||
IncludeFile "Combustion_Data.pbi"
|
||||
|
||||
;-
|
||||
;- Start of functions and Macros
|
||||
;- Engeneering stuff
|
||||
|
||||
; A small function to calculate gas properties
|
||||
Procedure.f CalcR( p.f, V.f, T.f)
|
||||
ProcedureReturn p*V/T
|
||||
EndProcedure
|
||||
|
||||
; Example of a Macro
|
||||
; These are indicated by '+' in the overview
|
||||
Macro HalfPI()
|
||||
(#PI/2)
|
||||
EndMacro
|
||||
|
||||
;-
|
||||
;- - - - - - - - - - -
|
||||
;- IO-Functions
|
||||
|
||||
Procedure Write_and_Close( File, Text$)
|
||||
If IsFile(File)
|
||||
WriteString(File,Text$)
|
||||
CloseFile(file)
|
||||
EndIf
|
||||
EndProcedure
|
||||
Loading…
Add table
Add a link
Reference in a new issue