mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Add highlighting for Igor Pro procedures
Available in pygments since 5ceb7533e214. Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
This commit is contained in:
38
samples/IGOR Pro/functions.ipf
Normal file
38
samples/IGOR Pro/functions.ipf
Normal file
@@ -0,0 +1,38 @@
|
||||
#pragma rtGlobals=3
|
||||
|
||||
Function FooBar()
|
||||
return 0
|
||||
End
|
||||
|
||||
Function FooBarSubType() : ButtonControl
|
||||
return 0
|
||||
End
|
||||
|
||||
Function/D FooBarVar()
|
||||
return 0
|
||||
End
|
||||
|
||||
static Function FooBarStatic()
|
||||
return 0
|
||||
End
|
||||
|
||||
threadsafe static Function FooBarStaticThreadsafe()
|
||||
return 0
|
||||
End
|
||||
|
||||
threadsafe Function FooBarThread()
|
||||
return 0
|
||||
End
|
||||
|
||||
Function CallOperationsAndBuiltInFuncs(string var)
|
||||
|
||||
string someDQString = "abcd"
|
||||
|
||||
Make/N=(1,2,3,4) myWave
|
||||
Redimension/N=(-1,-1,-1,5) myWave
|
||||
|
||||
print strlen(someDQString)
|
||||
|
||||
return 0
|
||||
End
|
||||
|
||||
Reference in New Issue
Block a user