Project

General

Profile

Actions

Added in 3.9

/hrename <table> <newtable>

Renames a hash table.

Parameters

<table> - The table name to rename.
<newtable> - The new table name.

Example

alias testrename {
  hmake table
  hadd table item value
  echo -sg $hget(table, item)
  hrename table newtable
  echo -sg $hget(newtable, item)
}

Updated by Per Amundsen 6 days ago · 1 revisions

Also available in: PDF HTML TXT