---
title: "Printing and Saving"
canonical: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/print_save.html"
source: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/print_save.md"
part: "Global Fields"
chapter: "Étale Algebras"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Global Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/index-global-fields.md"}
  - {"title": "Étale Algebras", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/index-etale-algebras.md"}
prev: {"title": "Totally Real and Positive", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/TotRealTotPos.md"}
next: {"title": "Bibliography", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/bibliography.md"}
intrinsics:
  - {"name": "PrintSeqAlgEtQElt", "signature": "PrintSeqAlgEtQElt(seq): SeqEnum[AlgEtQElt] -> SeqEnum, MonStgElt"}
  - {"name": "PrintWKICM", "signature": "PrintWKICM(R): AlgEtQOrd -> MonStgElt"}
  - {"name": "LoadWKICM", "signature": "LoadWKICM(str): MonStgElt -> AlgEtQOrd"}
---

# Printing and Saving

<a id="function-printseqalgetqelt-seqenum-algetqelt"></a>
## `PrintSeqAlgEtQElt(seq): SeqEnum[AlgEtQElt] -> SeqEnum, MonStgElt`

Given a sequence of elements of an étale algebra, returns a sequence of tuples of rational numbers that can be coerced into the original algebra to obtain the input sequence. As a second output, returns a string suitable for printing to file.

<a id="function-printwkicm-algetqord"></a>
## `PrintWKICM(R): AlgEtQOrd -> MonStgElt`

Given an order $R$, returns a string encoding the weak equivalence classes of $R$, sorted by multiplicator ring. In particular, the overorders of $R$ can be recovered from this string. Such a string can be printed to file; use `LoadWKICM` to load it back.

<a id="function-loadwkicm-monstgelt"></a>
## `LoadWKICM(str): MonStgElt -> AlgEtQOrd`

Given a string produced with `PrintWKICM`, returns the corresponding order $R$ with populated attributes for overorders and weak equivalence classes.
