Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -0,0 +1,5 @@
|
|||
Private Sub i_am_private
|
||||
End Sub
|
||||
|
||||
Public Sub i_am_public
|
||||
End Sub
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
' declaring 'strcpy' from the standard C library
|
||||
Declare Function strcpy Cdecl Alias "strcpy" (Byval dest As ZString Ptr, Byval src As ZString Ptr) As ZString Ptr
|
||||
|
|
@ -0,0 +1 @@
|
|||
Declare Function MyFunctionPascal Pascal Alias "MyFunction" (param As Integer) As Integer
|
||||
|
|
@ -0,0 +1 @@
|
|||
Declare Function MyFunc1 Stdcall (param1 As Integer, param2 As Integer) As Integer
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
|
||||
; some Linux specific code
|
||||
CompilerElse
|
||||
; some code for other operating systems
|
||||
CompilerEndIf
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
CompilerSelect #PB_Compiler_OS
|
||||
CompilerCase #PB_OS_MacOS
|
||||
; some Mac OS
|
||||
CompilerCase #PB_OS_Linux
|
||||
; some Linux specific code
|
||||
CompilerEndSelect
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
|
||||
CompilerError "Linux is not supported, sorry."
|
||||
CompilerElse
|
||||
CompilerWarning "OS supported, you can now comment me."
|
||||
CompilerEndIf
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
EnableExplicit
|
||||
Defines
|
||||
a = 20 ; Ok, as declared with 'Define'
|
||||
b = 10 ; Will raise an error here
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
; x86 assembly example
|
||||
Test = 10
|
||||
EnableASM
|
||||
MOV dword [v_Test],20
|
||||
DisableASM
|
||||
DebugTest ; Will be 20
|
||||
Loading…
Add table
Add a link
Reference in a new issue