This is a pseudo-code from "Artificial Intelligence: A modern approach"
function Table-Driven-Agent(percept) returns action
static: percepts, a sequence, initially empty
table, a table, indexed by the percept sequences, initially fully specified
append percept to the end of percepts
action <-- Lookup(percepts, table)
In this code and many other codes, there is the keyword static before some declarations. I want to use this keyword in my own algorithm pseudo-code, but I am not sure what is its usage.