mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-23 13:57:01 +01:00
add assert
This commit is contained in:
parent
687562a7a2
commit
ef0c1dba93
@ -370,6 +370,7 @@ func append_new_column(dataset : Array, column : Array):
|
||||
# ...................... Dataset Manipulation Functions .........................
|
||||
|
||||
func read_data(source : String, _delimiter : String = delimiter):
|
||||
assert(source != "" and source != null, "A source file must be specified")
|
||||
var file : File = File.new()
|
||||
file.open(source,File.READ)
|
||||
var content : Array
|
||||
|
Loading…
Reference in New Issue
Block a user