-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-input.ipf
104 lines (81 loc) · 1.52 KB
/
test-input.ipf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
constant myConst=123 ///< This is a really special number
/// The first alphabet letters
strconstant myStrConst="abcd"
strConstant url = "https://example.com" // test "efgh"
strConstant someOtherUrl = "https://test.com"
///@name Functions with different return types
///@{
Function FooBar()
print 1
End
/// Function with subtype
///
/// The subtype is currently ignored
Function FooBarSubType() : ButtonControl
print 1
End
Function/D FooBarVar()
print 2
End
Function/DF FooBarDFR()
print 3
End
Function/C FooBarComp()
print 4
End
Function/S FooBarStr()
print 5
End
Function/Wave FooBarWave()
print 6
End
///@}
// decorators
static Function FooBarStatic()
print 7
End
threadsafe static Function FooBarStaticThreadsafe()
print 8
End
threadsafe Function FooBarThread()
print 9
End
override Function FooBarOv()
print 9
End
// decorators and return types
static Function/DF FooBarStaticDFR()
print 7
End
/// My structure definition
Structure struct1
string str
variable var
EndStructure
static Structure struct2
string str
variable var
EndStructure
// parameters
Function FooParamVar(var)
variable var
End
Function FooParamStr(str)
string str
End
Function FooParamStruct(s)
STRUCT struct1 &s
End
StrConstant abcd = "This text is not a function declaration"
Picture Pic1
ASCII85Begin
M,6r;%14!\!!!!.8Ou6I!!!"5!!!!C#R18/!*gQ=PlLda"EQn$<!Wa8#^cngL]@DY'hLeZ<+nYd>>6
"J
ASCII85End
End
static Picture StaticPic2
ASCII85Begin
M,6r;%14!\!!!!.8Ou6I!!!"5!!!!C#R18/!*gQ=PlLda"EQn$<!Wa8#^cngL]@DY'hLeZ<+nYd>>6
"J
ASCII85End
End