mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
add new syntax test files
This commit is contained in:
1 parent
a5a9ac83e5
commit
591eba66a3
18 files changed
+646
No files matched your search
@@ -0,0 +1,25 @@
|
||||
-- This is a comment
|
||||
|
||||
property defaultClientName : "Mary Smith"
|
||||
|
||||
on greetClient(nameOfClient)
|
||||
display dialog ("Hello " & nameOfClient & "!")
|
||||
end greetClient
|
||||
|
||||
|
||||
script testGreet
|
||||
greetClient(defaultClientName)
|
||||
end script
|
||||
|
||||
run testGreet
|
||||
greetClient("Joe Jones")
|
||||
|
||||
set myList to {1, "what", 3}
|
||||
set beginning of myList to 0
|
||||
set end of myList to "four"
|
||||
|
||||
myList
|
||||
|
||||
tell application "TextEdit"
|
||||
paragraph 1 of document 1
|
||||
end tell
|
||||
Reference in new issue
Block a user