This commit is contained in:
narawat lamaiin
2024-10-14 12:48:55 +07:00
parent 8b67eb1713
commit a35e6e5ba8
2 changed files with 17 additions and 29 deletions

View File

@@ -289,7 +289,7 @@ julia> result = checkinventory(agent, input)
"""
function checkinventory(a::T1, input::T2
)::NamedTuple{(:result, :success, :errormsg), Tuple{String, Bool, Union{String, Nothing}}} where {T1<:agent, T2<:AbstractString}
println("~~~ checkinventory order: $input ", @__FILE__, " ", @__LINE__)
println("\n~~~ checkinventory order: $input ", @__FILE__, " ", @__LINE__)
wineattributes_1 = extractWineAttributes_1(a, input)
wineattributes_2 = extractWineAttributes_2(a, input)
@@ -310,7 +310,7 @@ function checkinventory(a::T1, input::T2
)
)
println("checkinventory result ", @__FILE__, " ", @__LINE__)
println("\n~~~ checkinventory result ", @__FILE__, " ", @__LINE__)
println(result)
return (result=result, success=true, errormsg=nothing)